task

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 (f *Buffile) GetBufferPath() string

func (*Buffile) GetBufferedDate added in v0.0.15

func (f *Buffile) GetBufferedDate() string

func (*Buffile) GetFilename added in v0.0.15

func (f *Buffile) GetFilename() string

func (*Buffile) GetWorkPath added in v0.0.15

func (f *Buffile) GetWorkPath() (string, error)

func (*Buffile) IsDir added in v0.0.15

func (f *Buffile) IsDir() (bool, error)

func (*Buffile) IsSameFileExistInWorkDir added in v0.0.15

func (f *Buffile) IsSameFileExistInWorkDir() (bool, error)

func (*Buffile) IsTopLevel added in v0.0.15

func (f *Buffile) IsTopLevel() bool

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry(repos repository.Repos) Registry

func (*Registry) CopyToBufDir

func (srv *Registry) CopyToBufDir(workfile Workfile) error

func (*Registry) CopyToWorkDir

func (srv *Registry) CopyToWorkDir(buffile Buffile) error

func (*Registry) CreateBufDir

func (srv *Registry) CreateBufDir() error

func (*Registry) DeleteBufDir

func (srv *Registry) DeleteBufDir() error

func (*Registry) GetBufDirPath

func (srv *Registry) GetBufDirPath() (string, error)

func (*Registry) GetWorkfile

func (srv *Registry) GetWorkfile(filename string) Workfile

func (*Registry) IsBufDirExist

func (srv *Registry) IsBufDirExist() bool

func (*Registry) ListFilesInBufDir

func (srv *Registry) ListFilesInBufDir() ([]Buffile, error)

func (*Registry) ListFilesInWorkDir

func (srv *Registry) ListFilesInWorkDir() ([]Workfile, error)

func (*Registry) ListFilesRecursively

func (srv *Registry) ListFilesRecursively(path string) ([]string, error)

func (*Registry) RemoveFileInBufDir

func (srv *Registry) RemoveFileInBufDir(filename string) error

func (*Registry) RemoveFileInWorkDir

func (srv *Registry) RemoveFileInWorkDir(filename string) error

type Workfile

type Workfile struct {
	// contains filtered or unexported fields
}

func NewWorkfile

func NewWorkfile(repos repository.Repos, path string, bufferDir string, workDir string) Workfile

func (*Workfile) CheckExist

func (f *Workfile) CheckExist() error

func (*Workfile) GetBufferPath

func (f *Workfile) GetBufferPath() string

func (*Workfile) GetFilename

func (f *Workfile) GetFilename() string

func (*Workfile) GetWorkPath

func (f *Workfile) GetWorkPath() (string, error)
func (f *Workfile) IsBrokenSymlink() (bool, error)

func (*Workfile) IsDir

func (f *Workfile) IsDir() (bool, error)

Jump to

Keyboard shortcuts

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