usecase

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Buffer

func Buffer(repos repository.Repos, filename string) error

func BufferFile

func BufferFile(repos repository.Repos, filename string) error

func CreateBufDir

func CreateBufDir(repos repository.Repos) error

func DeleteBufDir

func DeleteBufDir(repos repository.Repos) error

func IsBufDirExist

func IsBufDirExist(repos repository.Repos) bool

func ListConflictedFilenames

func ListConflictedFilenames(repos repository.Repos) ([]string, error)

func ListFilesInBufDir

func ListFilesInBufDir(repos repository.Repos) ([]task.Bufferfile, error)

func ListFilesInWorkDir

func ListFilesInWorkDir(repos repository.Repos) ([]task.Workfile, error)

func Paste

func Paste(repos repository.Repos) error

func RemoveFileInBufDir

func RemoveFileInBufDir(repos repository.Repos, filename string) error

func RemoveFileInWorkDir

func RemoveFileInWorkDir(repos repository.Repos, filename string) error

func SelectFileWithPrompt

func SelectFileWithPrompt(repos repository.Repos) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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