Documentation ¶
Index ¶
- Variables
- func NewFsServiceV2(path string) (svc interfaces.FsServiceV2)
- type ServiceV2
- func (svc *ServiceV2) Copy(path, newPath string) (err error)
- func (svc *ServiceV2) CreateDir(path string) (err error)
- func (svc *ServiceV2) Delete(path string) (err error)
- func (svc *ServiceV2) Export() (resultPath string, err error)
- func (svc *ServiceV2) GetFile(path string) (data []byte, err error)
- func (svc *ServiceV2) GetFileInfo(path string) (file interfaces.FsFileInfo, err error)
- func (svc *ServiceV2) List(path string) (files []interfaces.FsFileInfo, err error)
- func (svc *ServiceV2) Rename(path, newPath string) (err error)
- func (svc *ServiceV2) Save(path string, data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultWorkspacePath string
Functions ¶
func NewFsServiceV2 ¶
func NewFsServiceV2(path string) (svc interfaces.FsServiceV2)
Types ¶
type ServiceV2 ¶
type ServiceV2 struct {
// contains filtered or unexported fields
}
func (*ServiceV2) GetFileInfo ¶
func (svc *ServiceV2) GetFileInfo(path string) (file interfaces.FsFileInfo, err error)
func (*ServiceV2) List ¶
func (svc *ServiceV2) List(path string) (files []interfaces.FsFileInfo, err error)
Click to show internal directories.
Click to hide internal directories.