exec

package
v0.0.0-...-9e39881 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

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