exec

package
v0.0.0-...-febb7bc Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 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 []*cnty.Contentity) error

SimpleRepo is stored in struct [appenv].

func LoadFSOsIntoContentities

func LoadFSOsIntoContentities(inFSOs []FU.FSObject) []*cnty.Contentity

LoadFSOsIntoContentities turns a slice of [FSObject] into a slice of [Contentity]. Individual errors are returned via embedded struct [Errer]. The input and output slices are the same length, for a one-to-one mapping. .

func LoadFSOsIntoContentityFSs

func LoadFSOsIntoContentityFSs(inFSOs []*FU.FSObject) []*cnty.ContentityFS

LoadFSOsIntiContentityFSs turns a slice of [FSObject] into a slice of [ContentityFS]. Individual errors are returned via embedded struct [Errer]. The input and output slices are the same length, for a one-to-one mapping. .

Types

This section is empty.

Jump to

Keyboard shortcuts

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