Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-billy
/ functions
Functions
567 in github.com/go-git/go-billy
⨍
Functions
567
◇
Types & classes
65
↓ 2 callers
Function
isReadAndWrite
(flag int)
memfs/memory.go:414
↓ 2 callers
Function
isSymlink
(m os.FileMode)
memfs/memory.go:426
↓ 2 callers
Function
joinRelativePath
(elem ...string)
helper/chroot/chroot.go:192
↓ 2 callers
Method
linkTargetRel
(linkPath, target string)
helper/chroot/chroot.go:174
↓ 2 callers
Function
nextSuffix
()
util/util.go:144
↓ 2 callers
Function
openFile
(fn string, flag int, perm os.FileMode, createDir func(string) error)
osfs/os.go:111
↓ 2 callers
Function
readDir
(dir string)
osfs/os.go:87
↓ 2 callers
Function
readdirnames
(fs billy.Filesystem, dir string)
util/glob.go:99
↓ 2 callers
Method
resolveFollowedPath
(rel string, followFinal bool, op string, sl billy.Symlink)
helper/chroot/chroot.go:67
↓ 2 callers
Function
splitRelativePath
(filename string)
helper/chroot/chroot.go:183
↓ 2 callers
Function
tempFile
(dir, prefix string)
osfs/os.go:103
↓ 1 callers
Function
CapabilityCheck
CapabilityCheck tests the filesystem for the provided capabilities and returns true in case it supports all of them.
fs.go:207
↓ 1 callers
Method
Check
(params []interface{}, names []string)
util/walk_test.go:165
↓ 1 callers
Method
Children
(path string)
memfs/storage.go:75
↓ 1 callers
Method
Duplicate
(filename string, mode os.FileMode, flag int)
memfs/memory.go:323
↓ 1 callers
Function
Glob
Glob returns the names of all files matching pattern or nil if there is no matching file. The syntax of patterns is the same as in Match. The pattern
util/glob.go:21
↓ 1 callers
Method
Lstat
(filename string)
memfs/memory.go:120
↓ 1 callers
Method
MustGet
(path string)
memfs/storage.go:86
↓ 1 callers
Method
Name
()
memfs/memory.go:239
↓ 1 callers
Method
Open
Open opens the named file on the underlying FS, implementing fs.FS (returning a file or error).
helper/iofs/iofs.go:54
↓ 1 callers
Method
Read
Read reads bytes from the file, implementing fs.File (and io.Reader).
helper/iofs/iofs.go:131
↓ 1 callers
Method
ReadDir
ReadDir reads the named directory, implementing fs.ReadDirFS (returning a listing or error).
helper/iofs/iofs.go:76
↓ 1 callers
Method
Seek
(offset int64, whence int)
memfs/memory.go:268
↓ 1 callers
Method
Sys
()
memfs/memory.go:386
↓ 1 callers
Function
WithChrootOS
WithChrootOS returns the option of using a Chroot filesystem OS. Deprecated: use WithBoundOS instead.
osfs/os.go:55
↓ 1 callers
Method
WriteAt
(p []byte, off int64)
memfs/memory.go:289
↓ 1 callers
Function
checkFsTestError
(t *testing.T, err error, files map[string]string)
helper/iofs/iofs_test.go:126
↓ 1 callers
Function
cleanGlobPath
cleanGlobPath prepares path for glob matching.
util/glob.go:50
↓ 1 callers
Function
copyPath
copyPath copies a file across filesystems.
helper/mount/mount.go:227
↓ 1 callers
Function
dirwstat
(name string, d *syscall.Dir)
osfs/os_plan9.go:75
↓ 1 callers
Function
dotPathPrefixes
()
osfs/os_bound.go:44
↓ 1 callers
Function
dotPathSeparators
()
osfs/os_bound.go:51
↓ 1 callers
Function
glob
glob searches for files matching pattern in the directory dir and appends them to matches. If the directory cannot be opened, it returns the existing
util/glob.go:66
↓ 1 callers
Function
hasMeta
hasMeta reports whether path contains any of the magic characters recognized by Match.
util/glob.go:94
↓ 1 callers
Function
isAbs
On Windows OS, IsAbs validates if a path is valid based on if stars with a unit (eg.: `C:\`) to assert that is absolute, but in this mem implementati
memfs/memory.go:93
↓ 1 callers
Function
isAppend
(flag int)
memfs/memory.go:406
↓ 1 callers
Function
isCreate
(flag int)
memfs/memory.go:398
↓ 1 callers
Function
isCreateExclusive
(flag int)
helper/chroot/chroot.go:207
↓ 1 callers
Function
isExclusive
(flag int)
memfs/memory.go:402
↓ 1 callers
Function
isReadOnly
(flag int)
memfs/memory.go:418
↓ 1 callers
Function
isTruncate
(flag int)
memfs/memory.go:410
↓ 1 callers
Function
isWriteOnly
(flag int)
memfs/memory.go:422
↓ 1 callers
Function
lstat
(filesystem billy.Basic, path string)
util/util.go:94
↓ 1 callers
Function
makeDir
(stat fs.FileInfo, entries []fs.DirEntry)
helper/iofs/iofs.go:147
↓ 1 callers
Method
move
(from, to string)
memfs/storage.go:138
↓ 1 callers
Function
newStorage
()
memfs/storage.go:18
↓ 1 callers
Function
removeAll
(fs billy.Basic, path string)
util/util.go:30
↓ 1 callers
Function
rename
(from, to string)
osfs/os_posix.go:27
↓ 1 callers
Method
resolveFollowedRoot
(followFinal bool, op string, sl billy.Symlink)
helper/chroot/chroot.go:128
↓ 1 callers
Function
umask
umask sets umask to a new value, and returns a func which allows the caller to reset it back to what it was originally.
osfs/os_posix.go:33
↓ 1 callers
Function
walk
walk recursively descends path, calling walkFn adapted from https://golang.org/src/path/filepath/path.go
util/walk.go:12
Method
Capabilities
Capabilities implements the Capable interface.
osfs/os_chroot.go:124
Method
Capabilities
()
test/mock.go:146
Method
Capabilities
()
test/mock.go:154
Method
Capabilities
Capabilities implements the Capable interface.
memfs/memory.go:221
Method
Capabilities
Capabilities implements the Capable interface.
helper/mount/mount.go:170
Method
Capabilities
Capabilities implements the Capable interface.
helper/chroot/chroot.go:414
Method
Capabilities
Capabilities implements the Capable interface.
helper/polyfill/polyfill.go:112
Method
Chmod
(path string, mode os.FileMode)
osfs/os_bound.go:237
Method
Chmod
(path string, mode os.FileMode)
osfs/os_chroot.go:87
Method
Chmod
(path string, mode os.FileMode)
memfs/storage.go:172
Method
Chmod
(path string, mode os.FileMode)
memfs/memory.go:180
Method
Chmod
(path string, mode os.FileMode)
helper/chroot/chroot.go:383
Method
Chmod
(path string, mode os.FileMode)
helper/polyfill/polyfill.go:91
Method
Chown
Chown changes the numeric uid and gid of the named file. If the file is a symbolic link, it changes the uid and gid of the link's target.
fs.go:148
Method
Chroot
Chroot returns a new OS filesystem, with the base dir set to the result of joining the provided path with the underlying base dir.
osfs/os_bound.go:248
Method
Chroot
(path string)
helper/chroot/chroot.go:396
Method
Chroot
(path string)
helper/polyfill/polyfill.go:83
Method
Chtimes
Chtimes changes the access and modification times of the named file, similar to the Unix utime() or utimes() functions. The underlying filesystem may
fs.go:154
Method
Close
Close closes the directory, implementing fs.File (and io.Closer). Subtle: note that this is shadowing adapterFile.Close.
helper/iofs/iofs.go:156
Method
Create
(filename string)
osfs/os_bound.go:78
Method
Create
(filename string)
osfs/os_chroot.go:40
Method
Create
(filename string)
test/mock.go:22
Method
Create
(filename string)
memfs/memory.go:38
Method
Create
(path string)
helper/mount/mount.go:35
Method
Create
(filename string)
helper/chroot/chroot.go:219
Method
Join
(elem ...string)
osfs/os_bound.go:184
Method
Join
(elem ...string)
osfs/os_chroot.go:99
Method
Join
(elem ...string)
test/mock.go:52
Method
Join
(elem ...string)
helper/mount/mount.go:143
Method
Lchown
Lchown changes the numeric uid and gid of the named file. If the file is a symbolic link, it changes the uid and gid of the link itself.
fs.go:145
Method
Len
()
memfs/memory.go:394
Method
Less
(i, j int)
memfs/memory.go:132
Method
Lock
()
osfs/os_windows.go:24
Method
Lock
()
osfs/os_posix.go:13
Method
Lock
()
osfs/os_plan9.go:13
Method
Lock
()
osfs/os_wasip1.go:11
Method
Lock
()
test/mock.go:130
Method
Lock
Lock is a no-op in memfs.
memfs/memory.go:351
Method
Lstat
(filename string)
osfs/os_bound.go:214
Method
Lstat
(filename string)
osfs/os_chroot.go:107
Method
Lstat
(filename string)
test/mock.go:90
Method
Lstat
(path string)
helper/mount/mount.go:156
Method
Lstat
(filename string)
helper/chroot/chroot.go:334
Method
Lstat
(path string)
helper/polyfill/polyfill.go:75
Method
Lstat
(path string)
util/walk_test.go:154
Method
MkdirAll
(path string, perm os.FileMode)
osfs/os_bound.go:125
Method
MkdirAll
(path string, perm os.FileMode)
osfs/os_chroot.go:71
Method
MkdirAll
(filename string, perm os.FileMode)
test/mock.go:78
Method
MkdirAll
(path string, perm os.FileMode)
memfs/memory.go:157
← previous
next →
101–200 of 567, ranked by callers