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
Method
MkdirAll
(filename string, perm os.FileMode)
helper/mount/mount.go:120
Method
MkdirAll
(filename string, perm os.FileMode)
helper/chroot/chroot.go:325
Method
MkdirAll
(filename string, perm os.FileMode)
helper/polyfill/polyfill.go:51
Method
Name
()
test/mock.go:110
Method
Name
()
memfs/memory.go:366
Method
Name
()
helper/mount/mount.go:268
Method
Name
()
helper/chroot/chroot.go:438
Method
Name
()
helper/chroot/chroot.go:442
Function
New
New returns a new OS filesystem.
osfs/os_js.go:20
Function
NewReadDirFS
NewReadDirFS adapts a billy.Filesystem to a io.fs.ReadDirFS.
helper/iofs/iofs.go:25
Function
NewReadFileFS
NewReadFileFS adapts a billy.Filesystem to a io.fs.ReadFileFS.
helper/iofs/iofs.go:30
Function
NewStatFS
NewStatFS adapts a billy.Filesystem to a io.fs.StatFS.
helper/iofs/iofs.go:20
Method
Open
(filename string)
osfs/os_bound.go:134
Method
Open
(filename string)
osfs/os_chroot.go:75
Method
Open
(filename string)
test/mock.go:27
Method
Open
(filename string)
memfs/memory.go:42
Method
Open
(path string)
helper/mount/mount.go:45
Method
Open
(filename string)
helper/chroot/chroot.go:233
Method
OpenFile
(filename string, flag int, mode os.FileMode)
test/mock.go:32
Method
OpenFile
(path string, flag int, mode os.FileMode)
helper/mount/mount.go:55
Method
OpenFile
(filename string, flag int, mode os.FileMode)
helper/chroot/chroot.go:247
Method
ReadAt
(b []byte, off int64)
memfs/storage.go:221
Method
ReadDir
(path string)
osfs/os_bound.go:91
Method
ReadDir
(dir string)
osfs/os_chroot.go:59
Method
ReadDir
(path string)
test/mock.go:73
Method
ReadDir
(path string)
memfs/memory.go:135
Method
ReadDir
(path string)
helper/mount/mount.go:111
Method
ReadDir
ReadDir reads the directory contents, implementing fs.ReadDirFile (returning directory listing or error).
helper/iofs/iofs.go:161
Method
ReadDir
(path string)
helper/chroot/chroot.go:316
Method
ReadDir
(path string)
helper/polyfill/polyfill.go:43
Method
Readlink
(link string)
osfs/os_bound.go:226
Method
Readlink
(link string)
osfs/os_chroot.go:119
Method
Readlink
(link string)
test/mock.go:100
Method
Readlink
(link string)
memfs/memory.go:203
Method
Readlink
(link string)
helper/mount/mount.go:147
Method
Readlink
(link string)
helper/chroot/chroot.go:360
Method
Readlink
(link string)
helper/polyfill/polyfill.go:67
Method
Remove
(filename string)
osfs/os_bound.go:147
Method
Remove
(filename string)
osfs/os_chroot.go:83
Method
Remove
(filename string)
test/mock.go:47
Method
Remove
(path string)
memfs/storage.go:152
Method
Remove
(filename string)
memfs/memory.go:176
Method
Remove
(path string)
helper/mount/mount.go:102
Method
Remove
(path string)
helper/chroot/chroot.go:289
Method
RemoveAll
(path string)
osfs/os_bound.go:188
Method
RemoveAll
(path string)
osfs/os_chroot.go:103
Method
Rename
(from, to string)
osfs/os_bound.go:101
Method
Rename
(from, to string)
osfs/os_chroot.go:63
Method
Rename
(target, link string)
test/mock.go:42
Method
Rename
(from, to string)
memfs/storage.go:105
Method
Rename
(from, to string)
memfs/memory.go:172
Method
Rename
(from, to string)
helper/mount/mount.go:65
Method
Rename
(from, to string)
helper/chroot/chroot.go:274
Method
Root
Root returns the current base dir of the billy.Filesystem. This is required in order for this implementation to be a drop-in replacement for other ups
osfs/os_bound.go:259
Method
Root
()
helper/polyfill/polyfill.go:99
Method
SetUpTest
(c *C)
osfs/os_js_test.go:30
Method
SetUpTest
(c *C)
osfs/os_chroot_test.go:28
Method
SetUpTest
(c *C)
osfs/os_wasip1_test.go:29
Method
SetUpTest
(c *C)
memfs/memory_test.go:31
Method
SetUpTest
(c *C)
helper/temporal/temporal_test.go:21
Method
SetUpTest
(c *C)
helper/mount/mount_test.go:32
Method
SetUpTest
(c *C)
helper/polyfill/polyfill_test.go:22
Method
Stat
(filename string)
osfs/os_bound.go:138
Method
Stat
(filename string)
osfs/os_chroot.go:79
Method
Stat
(filename string)
test/mock.go:37
Method
Stat
(filename string)
memfs/memory.go:97
Method
Stat
()
memfs/memory.go:342
Method
Stat
(path string)
helper/mount/mount.go:97
Method
Stat
Stat returns information on the named file, implementing fs.StatFS (returning FileInfo or error).
helper/iofs/iofs.go:92
Method
Stat
Stat returns file information, implementing fs.File (returning FileInfo or error).
helper/iofs/iofs.go:136
Method
Stat
(filename string)
helper/chroot/chroot.go:261
Method
Swap
(i, j int)
memfs/memory.go:133
Method
Symlink
(target, link string)
osfs/os_bound.go:201
Method
Symlink
(target, link string)
osfs/os_chroot.go:111
Method
Symlink
(target, link string)
test/mock.go:95
Method
Symlink
(target, link string)
memfs/memory.go:190
Method
Symlink
(target, link string)
helper/mount/mount.go:129
Method
Symlink
(target, link string)
helper/chroot/chroot.go:343
Method
Symlink
(target, link string)
helper/polyfill/polyfill.go:59
Method
TearDownTest
(c *C)
osfs/os_chroot_test.go:41
Method
TempFile
TempFile creates a temporary file. If dir is empty, the file will be created within the OS Temporary dir. If dir is provided it must descend from the
osfs/os_bound.go:163
Method
TempFile
(dir, prefix string)
osfs/os_chroot.go:91
Method
TempFile
(dir, prefix string)
test/mock.go:62
Method
TempFile
(dir, prefix string)
memfs/memory.go:162
Method
TempFile
(dir, prefix string)
helper/temporal/temporal.go:24
Method
TempFile
(dir, prefix string)
helper/chroot/chroot.go:302
Method
TempFile
(dir, prefix string)
helper/polyfill/polyfill.go:35
Function
Test
(t *testing.T)
fs_test.go:14
Function
Test
(t *testing.T)
osfs/os_js_test.go:20
Function
Test
(t *testing.T)
osfs/os_chroot_test.go:19
Function
Test
(t *testing.T)
osfs/os_wasip1_test.go:19
Function
Test
(t *testing.T)
memfs/memory_test.go:22
Function
Test
(t *testing.T)
helper/temporal/temporal_test.go:13
Function
Test
(t *testing.T)
helper/mount/mount_test.go:16
Function
Test
(t *testing.T)
helper/chroot/chroot_test.go:14
Function
Test
(t *testing.T)
helper/polyfill/polyfill_test.go:13
Function
Test
(t *testing.T)
util/glob_test.go:13
Function
TestAbs
(t *testing.T)
osfs/os_bound_test.go:1035
Function
TestAbsReturnsSecureJoinError
(t *testing.T)
osfs/os_bound_test.go:1214
Method
TestCapabilities
(c *C)
fs_test.go:18
← previous
next →
201–300 of 567, ranked by callers