fs

package
v0.0.0-...-0485310 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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) Copy

func (svc *ServiceV2) Copy(path, newPath string) (err error)

func (*ServiceV2) CreateDir

func (svc *ServiceV2) CreateDir(path string) (err error)

func (*ServiceV2) Delete

func (svc *ServiceV2) Delete(path string) (err error)

func (*ServiceV2) Export

func (svc *ServiceV2) Export() (resultPath string, err error)

func (*ServiceV2) GetFile

func (svc *ServiceV2) GetFile(path string) (data []byte, err error)

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)

func (*ServiceV2) Rename

func (svc *ServiceV2) Rename(path, newPath string) (err error)

func (*ServiceV2) Save

func (svc *ServiceV2) Save(path string, data []byte) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL