Documentation
¶
Index ¶
- func IsSubPath(parent, sub string) (bool, error)
- type DiskFS
- func (self *DiskFS) AddInput(input *taskstorage.FileUrl) error
- func (self *DiskFS) AddOutput(output *taskstorage.FileUrl) error
- func (self *DiskFS) Close() error
- func (self *DiskFS) Flush() error
- func (self *DiskFS) RootPath() string
- func (self *DiskFS) ToFullPath(file *taskstorage.FileUrl) (string, error)
- type FileSystem
- type VirtualFS
- func (self *VirtualFS) AddInput(input *taskstorage.FileUrl) error
- func (self *VirtualFS) AddOutput(output *taskstorage.FileUrl) error
- func (self *VirtualFS) Close() error
- func (self *VirtualFS) Flush() error
- func (self *VirtualFS) RootPath() string
- func (self *VirtualFS) ToFullPath(file *taskstorage.FileUrl) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DiskFS ¶
type DiskFS struct {
// contains filtered or unexported fields
}
func CreateDiskFS ¶
func (*DiskFS) ToFullPath ¶
func (self *DiskFS) ToFullPath(file *taskstorage.FileUrl) (string, error)
type FileSystem ¶
type FileSystem interface { AddInput(input *taskstorage.FileUrl) error AddOutput(output *taskstorage.FileUrl) error RootPath() string ToFullPath(file *taskstorage.FileUrl) (string, error) // Flush will ensure all the files have been uploaded Flush() error // Close will close the filesystem entirely Close() error }
type VirtualFS ¶
type VirtualFS struct {
// contains filtered or unexported fields
}
func CreateVirtualFS ¶
func (*VirtualFS) ToFullPath ¶
func (self *VirtualFS) ToFullPath(file *taskstorage.FileUrl) (string, error)
Click to show internal directories.
Click to hide internal directories.