MCPcopy Create free account

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

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

↓ 2 callersFunctionisReadAndWrite
(flag int)
memfs/memory.go:414
↓ 2 callersFunctionisSymlink
(m os.FileMode)
memfs/memory.go:426
↓ 2 callersFunctionjoinRelativePath
(elem ...string)
helper/chroot/chroot.go:192
↓ 2 callersMethodlinkTargetRel
(linkPath, target string)
helper/chroot/chroot.go:174
↓ 2 callersFunctionnextSuffix
()
util/util.go:144
↓ 2 callersFunctionopenFile
(fn string, flag int, perm os.FileMode, createDir func(string) error)
osfs/os.go:111
↓ 2 callersFunctionreadDir
(dir string)
osfs/os.go:87
↓ 2 callersFunctionreaddirnames
(fs billy.Filesystem, dir string)
util/glob.go:99
↓ 2 callersMethodresolveFollowedPath
(rel string, followFinal bool, op string, sl billy.Symlink)
helper/chroot/chroot.go:67
↓ 2 callersFunctionsplitRelativePath
(filename string)
helper/chroot/chroot.go:183
↓ 2 callersFunctiontempFile
(dir, prefix string)
osfs/os.go:103
↓ 1 callersFunctionCapabilityCheck
CapabilityCheck tests the filesystem for the provided capabilities and returns true in case it supports all of them.
fs.go:207
↓ 1 callersMethodCheck
(params []interface{}, names []string)
util/walk_test.go:165
↓ 1 callersMethodChildren
(path string)
memfs/storage.go:75
↓ 1 callersMethodDuplicate
(filename string, mode os.FileMode, flag int)
memfs/memory.go:323
↓ 1 callersFunctionGlob
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 callersMethodLstat
(filename string)
memfs/memory.go:120
↓ 1 callersMethodMustGet
(path string)
memfs/storage.go:86
↓ 1 callersMethodName
()
memfs/memory.go:239
↓ 1 callersMethodOpen
Open opens the named file on the underlying FS, implementing fs.FS (returning a file or error).
helper/iofs/iofs.go:54
↓ 1 callersMethodRead
Read reads bytes from the file, implementing fs.File (and io.Reader).
helper/iofs/iofs.go:131
↓ 1 callersMethodReadDir
ReadDir reads the named directory, implementing fs.ReadDirFS (returning a listing or error).
helper/iofs/iofs.go:76
↓ 1 callersMethodSeek
(offset int64, whence int)
memfs/memory.go:268
↓ 1 callersMethodSys
()
memfs/memory.go:386
↓ 1 callersFunctionWithChrootOS
WithChrootOS returns the option of using a Chroot filesystem OS. Deprecated: use WithBoundOS instead.
osfs/os.go:55
↓ 1 callersMethodWriteAt
(p []byte, off int64)
memfs/memory.go:289
↓ 1 callersFunctioncheckFsTestError
(t *testing.T, err error, files map[string]string)
helper/iofs/iofs_test.go:126
↓ 1 callersFunctioncleanGlobPath
cleanGlobPath prepares path for glob matching.
util/glob.go:50
↓ 1 callersFunctioncopyPath
copyPath copies a file across filesystems.
helper/mount/mount.go:227
↓ 1 callersFunctiondirwstat
(name string, d *syscall.Dir)
osfs/os_plan9.go:75
↓ 1 callersFunctiondotPathPrefixes
()
osfs/os_bound.go:44
↓ 1 callersFunctiondotPathSeparators
()
osfs/os_bound.go:51
↓ 1 callersFunctionglob
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 callersFunctionhasMeta
hasMeta reports whether path contains any of the magic characters recognized by Match.
util/glob.go:94
↓ 1 callersFunctionisAbs
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 callersFunctionisAppend
(flag int)
memfs/memory.go:406
↓ 1 callersFunctionisCreate
(flag int)
memfs/memory.go:398
↓ 1 callersFunctionisCreateExclusive
(flag int)
helper/chroot/chroot.go:207
↓ 1 callersFunctionisExclusive
(flag int)
memfs/memory.go:402
↓ 1 callersFunctionisReadOnly
(flag int)
memfs/memory.go:418
↓ 1 callersFunctionisTruncate
(flag int)
memfs/memory.go:410
↓ 1 callersFunctionisWriteOnly
(flag int)
memfs/memory.go:422
↓ 1 callersFunctionlstat
(filesystem billy.Basic, path string)
util/util.go:94
↓ 1 callersFunctionmakeDir
(stat fs.FileInfo, entries []fs.DirEntry)
helper/iofs/iofs.go:147
↓ 1 callersMethodmove
(from, to string)
memfs/storage.go:138
↓ 1 callersFunctionnewStorage
()
memfs/storage.go:18
↓ 1 callersFunctionremoveAll
(fs billy.Basic, path string)
util/util.go:30
↓ 1 callersFunctionrename
(from, to string)
osfs/os_posix.go:27
↓ 1 callersMethodresolveFollowedRoot
(followFinal bool, op string, sl billy.Symlink)
helper/chroot/chroot.go:128
↓ 1 callersFunctionumask
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 callersFunctionwalk
walk recursively descends path, calling walkFn adapted from https://golang.org/src/path/filepath/path.go
util/walk.go:12
MethodCapabilities
Capabilities implements the Capable interface.
osfs/os_chroot.go:124
MethodCapabilities
()
test/mock.go:146
MethodCapabilities
()
test/mock.go:154
MethodCapabilities
Capabilities implements the Capable interface.
memfs/memory.go:221
MethodCapabilities
Capabilities implements the Capable interface.
helper/mount/mount.go:170
MethodCapabilities
Capabilities implements the Capable interface.
helper/chroot/chroot.go:414
MethodCapabilities
Capabilities implements the Capable interface.
helper/polyfill/polyfill.go:112
MethodChmod
(path string, mode os.FileMode)
osfs/os_bound.go:237
MethodChmod
(path string, mode os.FileMode)
osfs/os_chroot.go:87
MethodChmod
(path string, mode os.FileMode)
memfs/storage.go:172
MethodChmod
(path string, mode os.FileMode)
memfs/memory.go:180
MethodChmod
(path string, mode os.FileMode)
helper/chroot/chroot.go:383
MethodChmod
(path string, mode os.FileMode)
helper/polyfill/polyfill.go:91
MethodChown
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
MethodChroot
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
MethodChroot
(path string)
helper/chroot/chroot.go:396
MethodChroot
(path string)
helper/polyfill/polyfill.go:83
MethodChtimes
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
MethodClose
Close closes the directory, implementing fs.File (and io.Closer). Subtle: note that this is shadowing adapterFile.Close.
helper/iofs/iofs.go:156
MethodCreate
(filename string)
osfs/os_bound.go:78
MethodCreate
(filename string)
osfs/os_chroot.go:40
MethodCreate
(filename string)
test/mock.go:22
MethodCreate
(filename string)
memfs/memory.go:38
MethodCreate
(path string)
helper/mount/mount.go:35
MethodCreate
(filename string)
helper/chroot/chroot.go:219
MethodJoin
(elem ...string)
osfs/os_bound.go:184
MethodJoin
(elem ...string)
osfs/os_chroot.go:99
MethodJoin
(elem ...string)
test/mock.go:52
MethodJoin
(elem ...string)
helper/mount/mount.go:143
MethodLchown
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
MethodLen
()
memfs/memory.go:394
MethodLess
(i, j int)
memfs/memory.go:132
MethodLock
()
osfs/os_windows.go:24
MethodLock
()
osfs/os_posix.go:13
MethodLock
()
osfs/os_plan9.go:13
MethodLock
()
osfs/os_wasip1.go:11
MethodLock
()
test/mock.go:130
MethodLock
Lock is a no-op in memfs.
memfs/memory.go:351
MethodLstat
(filename string)
osfs/os_bound.go:214
MethodLstat
(filename string)
osfs/os_chroot.go:107
MethodLstat
(filename string)
test/mock.go:90
MethodLstat
(path string)
helper/mount/mount.go:156
MethodLstat
(filename string)
helper/chroot/chroot.go:334
MethodLstat
(path string)
helper/polyfill/polyfill.go:75
MethodLstat
(path string)
util/walk_test.go:154
MethodMkdirAll
(path string, perm os.FileMode)
osfs/os_bound.go:125
MethodMkdirAll
(path string, perm os.FileMode)
osfs/os_chroot.go:71
MethodMkdirAll
(filename string, perm os.FileMode)
test/mock.go:78
MethodMkdirAll
(path string, perm os.FileMode)
memfs/memory.go:157
← previousnext →101–200 of 567, ranked by callers