This repository has been archived by the owner on Mar 29, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
51 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,106 @@ | ||
// Package files: This package and has been deprecated and its contents moved to github.com/ipfs/go-libipfs/files | ||
// Package files: This package and has been deprecated and its contents moved to github.com/ipfs/boxo/files | ||
// | ||
// All content in this package is a thin wrapper around the functionality in the new package location. | ||
package files | ||
|
||
import ( | ||
"github.com/ipfs/go-libipfs/files" | ||
"github.com/ipfs/boxo/files" | ||
) | ||
|
||
// Errors | ||
var ( | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ErrNotDirectory] | ||
ErrNotDirectory = files.ErrNotDirectory | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ErrNotReader] | ||
ErrNotReader = files.ErrNotReader | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ErrNotSupported] | ||
ErrNotSupported = files.ErrNotSupported | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ErrInvalidDirectoryEntry] | ||
ErrInvalidDirectoryEntry = files.ErrInvalidDirectoryEntry | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ErrPathExistsOverwrite] | ||
ErrPathExistsOverwrite = files.ErrPathExistsOverwrite | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ErrUnixFSPathOutsideRoot] | ||
ErrUnixFSPathOutsideRoot = files.ErrUnixFSPathOutsideRoot | ||
) | ||
|
||
// Interfaces | ||
type ( | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.Node] | ||
Node = files.Node | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.File] | ||
File = files.File | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.DirEntry] | ||
DirEntry = files.DirEntry | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.DirIterator] | ||
DirIterator = files.DirIterator | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.Directory] | ||
Directory = files.Directory | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.FileInfo] | ||
FileInfo = files.FileInfo | ||
) | ||
|
||
// Structs | ||
type ( | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.Filter] | ||
Filter = files.Filter | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.Symlink] | ||
Symlink = files.Symlink | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.MultiFileReader] | ||
MultiFileReader = files.MultiFileReader | ||
ReaderFile = files.ReaderFile | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ReaderFile] | ||
ReaderFile = files.ReaderFile | ||
// Deprecated: moved to [files.SliceFile] | ||
SliceFile = files.SliceFile | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.TarWriter] | ||
TarWriter = files.TarWriter | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.WebFile] | ||
WebFile = files.WebFile | ||
) | ||
|
||
// Helpers | ||
var ( | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.WriteTo] | ||
WriteTo = files.WriteTo | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewFilter] | ||
NewFilter = files.NewFilter | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewLinkFile] | ||
NewLinkFile = files.NewLinkFile | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ToSymlink] | ||
ToSymlink = files.ToSymlink | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewMultiFileReader] | ||
NewMultiFileReader = files.NewMultiFileReader | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewFileFromPartReader] | ||
NewFileFromPartReader = files.NewFileFromPartReader | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewBytesFile] | ||
NewBytesFile = files.NewBytesFile | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewReaderFile] | ||
NewReaderFile = files.NewReaderFile | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewReaderStatFile] | ||
NewReaderStatFile = files.NewReaderStatFile | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewReaderPathFile] | ||
NewReaderPathFile = files.NewReaderPathFile | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewSerialFile] | ||
NewSerialFile = files.NewSerialFile | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewSerialFileWithFilter] | ||
NewSerialFileWithFilter = files.NewSerialFileWithFilter | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewSerialFileWithFilter] | ||
FileEntry = files.FileEntry | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewMapDirectory] | ||
NewMapDirectory = files.NewMapDirectory | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewSliceDirectory] | ||
NewSliceDirectory = files.NewSliceDirectory | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewTarWriter] | ||
NewTarWriter = files.NewTarWriter | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ToFile] | ||
ToFile = files.ToFile | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.ToDir] | ||
ToDir = files.ToDir | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.FileFromEntry] | ||
FileFromEntry = files.FileFromEntry | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.DirFromEntry] | ||
DirFromEntry = files.DirFromEntry | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.Walk] | ||
Walk = files.Walk | ||
// Deprecated: moved to github.com/ipfs/go-libipfs/files | ||
// Deprecated: moved to [files.NewWebFile] | ||
NewWebFile = files.NewWebFile | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
module github.com/ipfs/go-ipfs-files | ||
|
||
require github.com/ipfs/go-libipfs v0.4.0 | ||
require github.com/ipfs/boxo v0.7.1-0.20230320215318-0a46dee1a780 | ||
|
||
require ( | ||
github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 // indirect | ||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect | ||
golang.org/x/sys v0.4.0 // indirect | ||
) | ||
|
||
go 1.18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 h1:HVTnpeuvF6Owjd5mniCL8DEXo7uYXdQEmOP4FJbV5tg= | ||
github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3/go.mod h1:p1d6YEZWvFzEh4KLyvBcVSnrfNDDvK2zfK/4x2v/4pE= | ||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= | ||
github.com/ipfs/go-libipfs v0.4.0 h1:TkUxJGjtPnSzAgkw7VjS0/DBay3MPjmTBa4dGdUQCDE= | ||
github.com/ipfs/go-libipfs v0.4.0/go.mod h1:XsU2cP9jBhDrXoJDe0WxikB8XcVmD3k2MEZvB3dbYu8= | ||
github.com/ipfs/boxo v0.7.1-0.20230320215318-0a46dee1a780 h1:TGhOn2z00oK2ocUSqZxQW6Bf2u58qxHqJyLBlgFdMuc= | ||
github.com/ipfs/boxo v0.7.1-0.20230320215318-0a46dee1a780/go.mod h1:bc2g/y7n43dmNBKl2rCL7/UzjPKrECl211iYYgfgLHc= | ||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= | ||
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= | ||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab h1:2QkjZIsXupsJbJIdSjjUOgWK3aEtzyuh2mPt3l/CkeU= | ||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||
golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18= | ||
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= |