MCPcopy Create free account

hub / github.com/go-git/go-billy / functions

Functions567 in github.com/go-git/go-billy

MethodMkdirAll
(filename string, perm os.FileMode)
helper/mount/mount.go:120
MethodMkdirAll
(filename string, perm os.FileMode)
helper/chroot/chroot.go:325
MethodMkdirAll
(filename string, perm os.FileMode)
helper/polyfill/polyfill.go:51
MethodName
()
test/mock.go:110
MethodName
()
memfs/memory.go:366
MethodName
()
helper/mount/mount.go:268
MethodName
()
helper/chroot/chroot.go:438
MethodName
()
helper/chroot/chroot.go:442
FunctionNew
New returns a new OS filesystem.
osfs/os_js.go:20
FunctionNewReadDirFS
NewReadDirFS adapts a billy.Filesystem to a io.fs.ReadDirFS.
helper/iofs/iofs.go:25
FunctionNewReadFileFS
NewReadFileFS adapts a billy.Filesystem to a io.fs.ReadFileFS.
helper/iofs/iofs.go:30
FunctionNewStatFS
NewStatFS adapts a billy.Filesystem to a io.fs.StatFS.
helper/iofs/iofs.go:20
MethodOpen
(filename string)
osfs/os_bound.go:134
MethodOpen
(filename string)
osfs/os_chroot.go:75
MethodOpen
(filename string)
test/mock.go:27
MethodOpen
(filename string)
memfs/memory.go:42
MethodOpen
(path string)
helper/mount/mount.go:45
MethodOpen
(filename string)
helper/chroot/chroot.go:233
MethodOpenFile
(filename string, flag int, mode os.FileMode)
test/mock.go:32
MethodOpenFile
(path string, flag int, mode os.FileMode)
helper/mount/mount.go:55
MethodOpenFile
(filename string, flag int, mode os.FileMode)
helper/chroot/chroot.go:247
MethodReadAt
(b []byte, off int64)
memfs/storage.go:221
MethodReadDir
(path string)
osfs/os_bound.go:91
MethodReadDir
(dir string)
osfs/os_chroot.go:59
MethodReadDir
(path string)
test/mock.go:73
MethodReadDir
(path string)
memfs/memory.go:135
MethodReadDir
(path string)
helper/mount/mount.go:111
MethodReadDir
ReadDir reads the directory contents, implementing fs.ReadDirFile (returning directory listing or error).
helper/iofs/iofs.go:161
MethodReadDir
(path string)
helper/chroot/chroot.go:316
MethodReadDir
(path string)
helper/polyfill/polyfill.go:43
MethodReadlink
(link string)
osfs/os_bound.go:226
MethodReadlink
(link string)
osfs/os_chroot.go:119
MethodReadlink
(link string)
test/mock.go:100
MethodReadlink
(link string)
memfs/memory.go:203
MethodReadlink
(link string)
helper/mount/mount.go:147
MethodReadlink
(link string)
helper/chroot/chroot.go:360
MethodReadlink
(link string)
helper/polyfill/polyfill.go:67
MethodRemove
(filename string)
osfs/os_bound.go:147
MethodRemove
(filename string)
osfs/os_chroot.go:83
MethodRemove
(filename string)
test/mock.go:47
MethodRemove
(path string)
memfs/storage.go:152
MethodRemove
(filename string)
memfs/memory.go:176
MethodRemove
(path string)
helper/mount/mount.go:102
MethodRemove
(path string)
helper/chroot/chroot.go:289
MethodRemoveAll
(path string)
osfs/os_bound.go:188
MethodRemoveAll
(path string)
osfs/os_chroot.go:103
MethodRename
(from, to string)
osfs/os_bound.go:101
MethodRename
(from, to string)
osfs/os_chroot.go:63
MethodRename
(target, link string)
test/mock.go:42
MethodRename
(from, to string)
memfs/storage.go:105
MethodRename
(from, to string)
memfs/memory.go:172
MethodRename
(from, to string)
helper/mount/mount.go:65
MethodRename
(from, to string)
helper/chroot/chroot.go:274
MethodRoot
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
MethodRoot
()
helper/polyfill/polyfill.go:99
MethodSetUpTest
(c *C)
osfs/os_js_test.go:30
MethodSetUpTest
(c *C)
osfs/os_chroot_test.go:28
MethodSetUpTest
(c *C)
osfs/os_wasip1_test.go:29
MethodSetUpTest
(c *C)
memfs/memory_test.go:31
MethodSetUpTest
(c *C)
helper/temporal/temporal_test.go:21
MethodSetUpTest
(c *C)
helper/mount/mount_test.go:32
MethodSetUpTest
(c *C)
helper/polyfill/polyfill_test.go:22
MethodStat
(filename string)
osfs/os_bound.go:138
MethodStat
(filename string)
osfs/os_chroot.go:79
MethodStat
(filename string)
test/mock.go:37
MethodStat
(filename string)
memfs/memory.go:97
MethodStat
()
memfs/memory.go:342
MethodStat
(path string)
helper/mount/mount.go:97
MethodStat
Stat returns information on the named file, implementing fs.StatFS (returning FileInfo or error).
helper/iofs/iofs.go:92
MethodStat
Stat returns file information, implementing fs.File (returning FileInfo or error).
helper/iofs/iofs.go:136
MethodStat
(filename string)
helper/chroot/chroot.go:261
MethodSwap
(i, j int)
memfs/memory.go:133
MethodSymlink
(target, link string)
osfs/os_bound.go:201
MethodSymlink
(target, link string)
osfs/os_chroot.go:111
MethodSymlink
(target, link string)
test/mock.go:95
MethodSymlink
(target, link string)
memfs/memory.go:190
MethodSymlink
(target, link string)
helper/mount/mount.go:129
MethodSymlink
(target, link string)
helper/chroot/chroot.go:343
MethodSymlink
(target, link string)
helper/polyfill/polyfill.go:59
MethodTearDownTest
(c *C)
osfs/os_chroot_test.go:41
MethodTempFile
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
MethodTempFile
(dir, prefix string)
osfs/os_chroot.go:91
MethodTempFile
(dir, prefix string)
test/mock.go:62
MethodTempFile
(dir, prefix string)
memfs/memory.go:162
MethodTempFile
(dir, prefix string)
helper/temporal/temporal.go:24
MethodTempFile
(dir, prefix string)
helper/chroot/chroot.go:302
MethodTempFile
(dir, prefix string)
helper/polyfill/polyfill.go:35
FunctionTest
(t *testing.T)
fs_test.go:14
FunctionTest
(t *testing.T)
osfs/os_js_test.go:20
FunctionTest
(t *testing.T)
osfs/os_chroot_test.go:19
FunctionTest
(t *testing.T)
osfs/os_wasip1_test.go:19
FunctionTest
(t *testing.T)
memfs/memory_test.go:22
FunctionTest
(t *testing.T)
helper/temporal/temporal_test.go:13
FunctionTest
(t *testing.T)
helper/mount/mount_test.go:16
FunctionTest
(t *testing.T)
helper/chroot/chroot_test.go:14
FunctionTest
(t *testing.T)
helper/polyfill/polyfill_test.go:13
FunctionTest
(t *testing.T)
util/glob_test.go:13
FunctionTestAbs
(t *testing.T)
osfs/os_bound_test.go:1035
FunctionTestAbsReturnsSecureJoinError
(t *testing.T)
osfs/os_bound_test.go:1214
MethodTestCapabilities
(c *C)
fs_test.go:18
← previousnext →201–300 of 567, ranked by callers