Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-billy
/ types & classes
Types & classes
65 in github.com/go-git/go-billy
⨍
Functions
567
◇
Types & classes
65
↓ 1 callers
TypeAlias
ByName
memfs/memory.go:129
Interface
Basic
Basic abstract the basic operations in a storage-agnostic interface as an extension to the Basic interface.
fs.go:62
Struct
BasicMock
test/mock.go:12
Struct
BasicSuite
BasicSuite is a convenient test suite to validate any implementation of billy.Basic
test/basic.go:18
Struct
BoundOS
BoundOS is a fs implementation based on the OS filesystem which is bound to a base dir. Prefer this fs implementation over ChrootOS. Behaviours of no
osfs/os_bound.go:69
TypeAlias
Capability
Capability holds the supported features of a billy filesystem. This does not mean that the capability has to be supported by the underlying storage. F
fs.go:20
Interface
Capable
Capable interface can return the available features of a filesystem.
fs.go:189
Interface
Change
Change abstract the FileInfo change related operations in a storage-agnostic interface as an extension to the Basic interface
fs.go:140
Interface
Chmod
Chmod abstracts the logic around changing file modes.
fs.go:132
Interface
Chroot
Chroot abstract the chroot related operations in a storage-agnostic interface as an extension to the Basic interface.
fs.go:159
Struct
ChrootHelper
ChrootHelper is a helper to implement billy.Chroot. It is not a security boundary, callers that need containment should use a filesystem implementatio
helper/chroot/chroot.go:18
Struct
ChrootOS
ChrootOS is a legacy filesystem based on a "soft chroot" of the os filesystem. Although this is still the default os filesystem, consider using BoundO
osfs/os_chroot.go:26
Struct
ChrootOSSuite
osfs/os_chroot_test.go:21
Struct
ChrootSuite
ChrootSuite is a convenient test suite to validate any implementation of billy.Chroot
test/chroot.go:14
Struct
ChrootSuite
helper/chroot/chroot_test.go:18
Interface
Dir
Dir abstract the dir related operations in a storage-agnostic interface as an extension to the Basic interface.
fs.go:105
Struct
DirMock
test/mock.go:67
Struct
DirSuite
DirSuite is a convenient test suite to validate any implementation of billy.Dir
test/dir.go:14
Struct
FSSuite
fs_test.go:12
Interface
File
File represent a file, being a subset of the os.File
fs.go:169
Struct
FileMock
test/mock.go:105
Interface
Filesystem
Filesystem abstract the operations in a storage-agnostic interface. Each method implementation mimics the behavior of the equivalent functions at the
fs.go:52
Struct
FilesystemSuite
FilesystemSuite is a convenient test suite to validate any implementation of billy.Filesystem
test/fs.go:14
Struct
Memory
Memory a very convenient filesystem based on memory files.
memfs/memory.go:25
Struct
MemorySuite
memfs/memory_test.go:24
Struct
Mount
Mount is a helper that allows to emulate the behavior of mount in memory. Very useful to create a temporal dir, on filesystem where is a performance p
helper/mount/mount.go:19
Struct
MountSuite
helper/mount/mount_test.go:20
Struct
NoLockCapFs
test/mock.go:150
Struct
OSSuite
osfs/os_js_test.go:22
Struct
OSSuite
osfs/os_wasip1_test.go:21
Struct
OnlyReadCapFs
test/mock.go:142
FuncType
Option
func(*options)
osfs/os_options.go:3
Struct
Polyfill
Polyfill is a helper that implements all missing method from billy.Filesystem.
helper/polyfill/polyfill.go:11
Struct
PolyfillSuite
helper/polyfill/polyfill_test.go:17
Interface
Symlink
Symlink abstract the symlink related operations in a storage-agnostic interface as an extension to the Basic interface.
fs.go:118
Struct
SymlinkMock
test/mock.go:83
Struct
SymlinkSuite
SymlinkSuite is a convenient test suite to validate any implementation of billy.Symlink
test/symlink.go:15
Interface
TempFile
fs.go:91
Struct
TempFileMock
test/mock.go:57
Struct
TempFileSuite
TempFileSuite is a convenient test suite to validate any implementation of billy.TempFile
test/tempfile.go:13
Struct
Temporal
Temporal is a helper that implements billy.TempFile over any filesystem.
helper/temporal/temporal.go:9
Struct
TemporalSuite
helper/temporal/temporal_test.go:17
TypeAlias
Type
osfs/os.go:80
Struct
UtilSuite
util/glob_test.go:17
Struct
WalkSuite
util/walk_test.go:18
Struct
adapterDirFile
helper/iofs/iofs.go:140
Struct
adapterFile
helper/iofs/iofs.go:118
Struct
adapterFs
helper/iofs/iofs.go:34
Struct
capabilities
helper/polyfill/polyfill.go:16
Struct
containsChecker
util/walk_test.go:161
Struct
content
memfs/storage.go:188
Interface
errorList
helper/iofs/iofs_test.go:17
Struct
file
file is a wrapper for an os.File which adds support for file locking.
osfs/os.go:129
Struct
file
memfs/memory.go:229
Struct
file
helper/mount/mount.go:252
Struct
file
helper/chroot/chroot.go:418
Struct
fileInfo
memfs/memory.go:360
Struct
fileInfo
helper/chroot/chroot.go:423
Struct
fnFs
util/walk_test.go:149
Struct
mock
helper/mount/mount_test.go:26
Struct
options
osfs/os_js.go:24
Struct
options
osfs/os.go:75
Interface
removerAll
util/util.go:26
Struct
storage
memfs/storage.go:13
Interface
wrappedError
helper/iofs/iofs_test.go:21