diskcopy

package
v0.0.0-...-99ea9fb Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2025 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFiles

func CopyFiles(DB *database.Node, galId uint64, from string, to string) (int, uint64, error)

func CreateStockDir

func CreateStockDir(stockBaseDir string, galId uint64) (string, error)

func CreateThumb

func CreateThumb(sourcePath string, width int, destPath string) (err error)

func CreateUniqHash

func CreateUniqHash(DB *database.Node, fileName string, to string, ext string) (string, error)

func DeleteFullGallery

func DeleteFullGallery(stockBaseDir string, id uint64) error

func DeleteGallery

func DeleteGallery(DB *database.Node, stockBaseDir string, id uint64) (err error)

func ImportSelected

func ImportSelected(DB *database.Node, importBaseDir string, name string, stockBaseDir string) error

func LookupNewDir

func LookupNewDir(DB *database.Node, importBaseDir string, stockBaseDir string) error

func MixGalleries

func MixGalleries(DB *database.Node, stockBaseDir string, origin uint64, dest uint64) (err error)

func MovePhotos

func MovePhotos(stockBaseDir string, id_from uint64, id_to uint64) error

func WriteInfoFile

func WriteInfoFile(DB *database.Node, stockBaseDir string, galId uint64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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