Documentation ¶
Index ¶
- Variables
- func BatchCacher(exitctx context.Context, cnvlist FileMap)
- func BatchExtractor(exitctx context.Context, extlist FileMap)
- func BatchPathList(pathlist []string)
- func Convert(fpath string, fi fs.FileInfo, cs *CnvStat) (err error)
- func Done() (err error)
- func Execute() error
- func FileList(fsys *jnt.SubPool, pathlist *[]string, extlist, cnvlist FileMap) (err error)
- func Init() (context.Context, error)
- func InitStorage() (err error)
- func InitUserlog() (err error)
- func IsCached(fpath string) bool
- func LoadGpsCache() (err error)
- func LoadPathCache() (err error)
- func RunCacher(exitctx context.Context)
- func RunWeb(exitctx context.Context, r *gin.Engine)
- func UpdateExtList(extlist FileMap)
- type CnvStat
- type FileMap
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IncludePath []string ExcludePath []string )
Functions ¶
func BatchCacher ¶
func BatchExtractor ¶
func BatchPathList ¶
func BatchPathList(pathlist []string)
func Init ¶
Init performs global data initialization. Loads configuration files, initializes file cache.
func LoadGpsCache ¶
func LoadGpsCache() (err error)
LoadGpsCache loads all items with GPS information from EXIF table of storage into cache.
func LoadPathCache ¶
func LoadPathCache() (err error)
LoadPathCache loads whole path table from database into cache.
func UpdateExtList ¶
func UpdateExtList(extlist FileMap)
Types ¶
Click to show internal directories.
Click to hide internal directories.