Documentation
¶
Index ¶
- type Buffile
- func (f *Buffile) GetBufferPath() string
- func (f *Buffile) GetBufferedDate() string
- func (f *Buffile) GetFilename() string
- func (f *Buffile) GetWorkPath() (string, error)
- func (f *Buffile) IsDir() (bool, error)
- func (f *Buffile) IsSameFileExistInWorkDir() (bool, error)
- func (f *Buffile) IsTopLevel() bool
- type Registry
- func (srv *Registry) CopyToBufDir(workfile Workfile) error
- func (srv *Registry) CopyToWorkDir(buffile Buffile) error
- func (srv *Registry) CreateBufDir() error
- func (srv *Registry) DeleteBufDir() error
- func (srv *Registry) GetBufDirPath() (string, error)
- func (srv *Registry) GetWorkfile(filename string) Workfile
- func (srv *Registry) IsBufDirExist() bool
- func (srv *Registry) ListFilesInBufDir() ([]Buffile, error)
- func (srv *Registry) ListFilesInWorkDir() ([]Workfile, error)
- func (srv *Registry) ListFilesRecursively(path string) ([]string, error)
- func (srv *Registry) RemoveFileInBufDir(filename string) error
- func (srv *Registry) RemoveFileInWorkDir(filename string) error
- type Workfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffile ¶ added in v0.0.15
type Buffile struct {
// contains filtered or unexported fields
}
func (*Buffile) GetBufferPath ¶ added in v0.0.15
func (*Buffile) GetBufferedDate ¶ added in v0.0.15
func (*Buffile) GetFilename ¶ added in v0.0.15
func (*Buffile) GetWorkPath ¶ added in v0.0.15
func (*Buffile) IsSameFileExistInWorkDir ¶ added in v0.0.15
func (*Buffile) IsTopLevel ¶ added in v0.0.15
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry(repos repository.Repos) Registry
func (*Registry) CopyToBufDir ¶
func (*Registry) CopyToWorkDir ¶
func (*Registry) CreateBufDir ¶
func (*Registry) DeleteBufDir ¶
func (*Registry) GetBufDirPath ¶
func (*Registry) GetWorkfile ¶
func (*Registry) IsBufDirExist ¶
func (*Registry) ListFilesInBufDir ¶
func (*Registry) ListFilesInWorkDir ¶
func (*Registry) ListFilesRecursively ¶
func (*Registry) RemoveFileInBufDir ¶
func (*Registry) RemoveFileInWorkDir ¶
type Workfile ¶
type Workfile struct {
// contains filtered or unexported fields
}
func NewWorkfile ¶
func (*Workfile) CheckExist ¶
func (*Workfile) GetBufferPath ¶
func (*Workfile) GetFilename ¶
func (*Workfile) GetWorkPath ¶
func (*Workfile) IsBrokenSymlink ¶
Click to show internal directories.
Click to hide internal directories.