Documentation
¶
Index ¶
- type App
- func (a App) ExportFile(pre Preview, tx *gorm.DB, dirPerm os.FileMode, filePerm os.FileMode) error
- func (a App) ExportLink(pre Preview, tx *gorm.DB, dirPerm os.FileMode, filePerm os.FileMode) error
- func (a App) ImportFile(pre Preview, dirPerm os.FileMode, filePerm os.FileMode) error
- func (a App) ImportLink(pre Preview, tx *gorm.DB, dirPerm os.FileMode, filePerm os.FileMode) error
- func (a App) PreviewExportFile(dot gp.GardenPath, dtt gp.GardenPath) (*Preview, error)
- func (a App) PreviewExportLink(dot gp.GardenPath, dtt gp.GardenPath) (*Preview, error)
- func (a App) PreviewImportFile(dot gp.GardenPath, dtt gp.GardenPath) (*Preview, error)
- func (a App) PreviewImportLink(dot gp.GardenPath, dtt gp.GardenPath) (*Preview, error)
- func (a App) PreviewUnlink(dot gp.GardenPath, dtt gp.GardenPath) (*Preview, error)
- func (a App) Unlink(pre Preview, tx *gorm.DB, dirPerm os.FileMode, filePerm os.FileMode) error
- func (a App) WalkExportFile(group string, base gp.GardenPath, onPreview func(Preview) error) (err error)
- func (a App) WalkExportLink(group string, base gp.GardenPath, onPreview func(Preview) error) (err error)
- func (a App) WalkImportFile(group string, base gp.GardenPath, onPreview func(Preview) error) (err error)
- func (a App) WalkImportLink(group string, base gp.GardenPath, onPreview func(Preview) error) (err error)
- func (a App) WalkUnlink(group string, base gp.GardenPath, onPreview func(Preview) error) (err error)
- type FileOp
- type Preview
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
func (App) ExportFile ¶
func (App) ExportLink ¶
func (App) ImportFile ¶
func (App) ImportLink ¶
func (App) PreviewExportFile ¶
func (a App) PreviewExportFile( dot gp.GardenPath, dtt gp.GardenPath, ) (*Preview, error)
func (App) PreviewExportLink ¶
func (a App) PreviewExportLink( dot gp.GardenPath, dtt gp.GardenPath, ) (*Preview, error)
func (App) PreviewImportFile ¶
func (a App) PreviewImportFile( dot gp.GardenPath, dtt gp.GardenPath, ) (*Preview, error)
func (App) PreviewImportLink ¶
func (a App) PreviewImportLink( dot gp.GardenPath, dtt gp.GardenPath, ) (*Preview, error)
Dot should be link and dtt should be file.
func (App) PreviewUnlink ¶
func (a App) PreviewUnlink( dot gp.GardenPath, dtt gp.GardenPath, ) (*Preview, error)
func (App) WalkExportFile ¶
func (App) WalkExportLink ¶
func (App) WalkImportFile ¶
func (App) WalkImportLink ¶
func (App) WalkUnlink ¶
type Preview ¶
type Preview struct {
Dot *filesystem.PathStat
DotOp FileOp
Dtt *filesystem.PathStat
DttOp FileOp
}
Click to show internal directories.
Click to hide internal directories.