Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatPath ¶
func ResolvePath ¶
Types ¶
type DirectoryEntry ¶
func ParseDir ¶
func ParseDir(real, virtual string) (ret []DirectoryEntry)
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
func NewFileSystem ¶
func NewFileSystem() *FileSystem
func (*FileSystem) Find ¶
func (fs *FileSystem) Find(path string) File
func (*FileSystem) Get ¶
func (fs *FileSystem) Get(src, dst string) error
func (*FileSystem) List ¶
func (fs *FileSystem) List(dir string) (ret []string)
func (*FileSystem) Put ¶
func (fs *FileSystem) Put(src, dst string) error
type FileSystemCache ¶
type FileSystemCache struct {
// contains filtered or unexported fields
}
func (*FileSystemCache) Clean ¶
func (fcache *FileSystemCache) Clean()
type SharedFile ¶
type SharedFile struct {}
func (*SharedFile) Append ¶
func (fp *SharedFile) Append(producer string, meta FileInfo)
func (*SharedFile) Close ¶
func (file *SharedFile) Close(fd string)
func (*SharedFile) Info ¶
func (file *SharedFile) Info(producer string) FileInfo
func (*SharedFile) Open ¶
func (fp *SharedFile) Open(producer, consumer string) (ret []string, err error)
func (*SharedFile) Save ¶
func (f *SharedFile) Save() string
type Volume ¶
type Volume struct {
// contains filtered or unexported fields
}
func (*Volume) Put ¶
func (v *Volume) Put(entry DirectoryEntry)
type VolumeEntry ¶
type VolumeEntry struct {
// contains filtered or unexported fields
}
func (*VolumeEntry) Free ¶
func (entry *VolumeEntry) Free()
func (*VolumeEntry) Key ¶
func (entry *VolumeEntry) Key() string
func (*VolumeEntry) SetKey ¶
func (entry *VolumeEntry) SetKey(k string)
func (*VolumeEntry) SetValue ¶
func (entry *VolumeEntry) SetValue(v *Volume)
func (*VolumeEntry) Value ¶
func (entry *VolumeEntry) Value() *Volume
Click to show internal directories.
Click to hide internal directories.