Documentation
¶
Overview ¶
Package exec is home to functions called from m5's cli/Exec(), which is where all the "real work" gets done.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImportBatchIntoDB ¶
func ImportBatchIntoDB(pSR *DRS.SqliteRepo, InputContentities []*mcfile.Contentity) error
SimpleRepo is stored in struct [appenv].
func LoadDirpathsContentFSs ¶
func LoadDirpathsContentFSs(ff []FU.FSItem) []mcfile.ContentityFS
LoadDirpathsContentFSs turns a slice of [FSItem] into a slice of [ContentityFS]. Any error is returned as an interface [Errer] of a ContentityFS.
func LoadFilepathsContentities ¶
func LoadFilepathsContentities(inFSIs []FU.FSItem) ([]*mcfile.Contentity, int)
LoadFilepathsContentities turns a slice of [FSItem] into a slice of [Contentity]. Individual errors are returned via embedded struct Errer, but for convenience, a summary count of errors is the second return value. .
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.