Package-Level Type Names (total 2, in which 1 are exported)
/* sort exporteds by: | */
Polyfill is a helper that implements all missing method from billy.Filesystem.
Basicbilly.Basicccapabilities
Capabilities implements the Capable interface.
(*T) Chroot(path string) (billy.Filesystem, error)
Create creates the named file with mode 0666 (before umask), truncating
it if it already exists. If successful, methods on the returned File can
be used for I/O; the associated file descriptor has mode O_RDWR.
Join joins any number of path elements into a single path, adding a
Separator if necessary. Join calls filepath.Clean on the result; in
particular, all empty strings are ignored. On Windows, the result is a
UNC path if and only if the first path element is a UNC path.
(*T) Lstat(path string) (os.FileInfo, error)(*T) MkdirAll(filename string, perm os.FileMode) error
Open opens the named file for reading. If successful, methods on the
returned file can be used for reading; the associated file descriptor has
mode O_RDONLY.
OpenFile is the generalized open call; most users will use Open or Create
instead. It opens the named file with specified flag (O_RDONLY etc.) and
perm, (0666 etc.) if applicable. If successful, methods on the returned
File can be used for I/O.
(*T) ReadDir(path string) ([]os.FileInfo, error)(*T) Readlink(link string) (string, error)
Remove removes the named file or directory.
Rename renames (moves) oldpath to newpath. If newpath already exists and
is not a directory, Rename replaces it. OS-specific restrictions may
apply when oldpath and newpath are in different directories.
(*T) Root() string
Stat returns a FileInfo describing the named file.
(*T) Symlink(target, link string) error(*T) TempFile(dir, prefix string) (billy.File, error)(*T) Underlying() billy.Basic
T : github.com/go-git/go-billy/v5.Basic
*T : github.com/go-git/go-billy/v5.Capable
*T : github.com/go-git/go-billy/v5.Chroot
*T : github.com/go-git/go-billy/v5.Dir
*T : github.com/go-git/go-billy/v5.Filesystem
*T : github.com/go-git/go-billy/v5.Symlink
*T : github.com/go-git/go-billy/v5.TempFile
*T : github.com/go-git/go-billy/v5/util.underlying
Package-Level Functions (only one, which is exported)
New creates a new filesystem wrapping up 'fs' the intercepts all the calls
made and errors if fs doesn't implement any of the billy interfaces.
The pages are generated with Goldsv0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.