filehandler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDBFile

func CreateDBFile(path string) string

CreateDBFile crates DB file if doesnt exists

func CreateSymlink(path string, newName string)

CreateSymlink creates a symlink of the file

func FileExists

func FileExists(path string) bool

FileExists checks if file exists

func GetRJCode

func GetRJCode(filename string) string

GetRJCode returns rjcode

func HasRJCode

func HasRJCode(filename string) bool

HasRJCode return true if has RJCode

func ScanFiles

func ScanFiles(db *sql.DB, basepath string)

ScanFiles Traverse files on basepath and scraps and parse work data and saves the work on the DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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