Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Add ¶
func (Add) Prepare ¶
func (add Add) Prepare( currentArchive WorkingArchive, workingSubdirectory string, ) (AddPrepareResult, error)
type AddPrepareResult ¶
func (AddPrepareResult) Execute ¶
func (result AddPrepareResult) Execute( cmd *cobra.Command, currentArchive currentarchive.CurrentArchive, ) error
func (AddPrepareResult) PrintSummary ¶
func (result AddPrepareResult) PrintSummary( cmd *cobra.Command, currentArchive currentarchive.CurrentArchive, ) error
type Remove ¶
type Remove struct {
FileNames []string
}
func (Remove) Execute ¶
func (remove Remove) Execute( cmd *cobra.Command, currentArchive currentarchive.CurrentArchive, ) error
type WorkingArchive ¶
type WorkingArchive interface { archive.Reader archive.Writer FindAllFiles(searchGlobs ...string) ([]string, error) Contains(path string) bool FileChecksum(path string) (string, error) ComputeFileChecksum(path string) (string, error) VerifyFileExists(path string) (bool, error) StoredFiles() ([]string, error) }
Click to show internal directories.
Click to hide internal directories.