Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeBarePath ¶ added in v0.4.2
func ResolveHomeDir ¶
Types ¶
type FS ¶
type FS interface { fs.FS OpenFile(path string) (fs.File, error) Write(path string, data []byte) error }
func CreateFileSystem ¶
func CreateMemoryFileSystem ¶
func CreateMemoryFileSystem() FS
type Lookup ¶
type Lookup struct {
// contains filtered or unexported fields
}
func CreateFileSystemLookup ¶
func CreateLookup ¶
type MemFileInfo ¶
type MemFileInfo struct {
// contains filtered or unexported fields
}
func (MemFileInfo) IsDir ¶
func (fi MemFileInfo) IsDir() bool
func (MemFileInfo) ModTime ¶
func (fi MemFileInfo) ModTime() time.Time
func (MemFileInfo) Mode ¶
func (fi MemFileInfo) Mode() iofs.FileMode
func (MemFileInfo) Name ¶
func (fi MemFileInfo) Name() string
func (MemFileInfo) Size ¶
func (fi MemFileInfo) Size() int64
func (MemFileInfo) Sys ¶
func (fi MemFileInfo) Sys() any
type MemoryFS ¶
type MemoryFS struct {
// contains filtered or unexported fields
}
func CreateMemoryFS ¶
func CreateMemoryFS() *MemoryFS
type MemoryFileSystem ¶
type MemoryFileSystem struct {
*MemoryFS
}
Click to show internal directories.
Click to hide internal directories.