Documentation ¶
Index ¶
- type BasicFileInfo
- type PosixFSDriver
- func (driver *PosixFSDriver) ChangeDir(path string) error
- func (driver *PosixFSDriver) DeleteDir(path string) error
- func (driver *PosixFSDriver) DeleteFile(path string) error
- func (driver *PosixFSDriver) GetFile(path string, offset int64) (int64, io.ReadCloser, error)
- func (driver *PosixFSDriver) ListDir(path string, callback func(server.FileInfo) error) error
- func (driver *PosixFSDriver) MakeDir(path string) error
- func (driver *PosixFSDriver) PutFile(destPath string, data io.Reader, appendData bool) (int64, error)
- func (driver *PosixFSDriver) Rename(fromPath string, toPath string) error
- func (driver *PosixFSDriver) Stat(path string) (server.FileInfo, error)
- type PosixFSFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicFileInfo ¶
func (*BasicFileInfo) Group ¶
func (f *BasicFileInfo) Group() string
func (*BasicFileInfo) Owner ¶
func (f *BasicFileInfo) Owner() string
type PosixFSDriver ¶
type PosixFSDriver struct {
RootPath string
}
func (*PosixFSDriver) ChangeDir ¶
func (driver *PosixFSDriver) ChangeDir(path string) error
func (*PosixFSDriver) DeleteDir ¶
func (driver *PosixFSDriver) DeleteDir(path string) error
func (*PosixFSDriver) DeleteFile ¶
func (driver *PosixFSDriver) DeleteFile(path string) error
func (*PosixFSDriver) GetFile ¶
func (driver *PosixFSDriver) GetFile(path string, offset int64) (int64, io.ReadCloser, error)
func (*PosixFSDriver) MakeDir ¶
func (driver *PosixFSDriver) MakeDir(path string) error
type PosixFSFactory ¶
type PosixFSFactory struct {
RootPath string
}
func NewPosixFSFactory ¶
func NewPosixFSFactory(rootDir string) *PosixFSFactory
Click to show internal directories.
Click to hide internal directories.