MCPcopy Create free account
hub / github.com/celer-pkg/celer / Export

Function Export

snapshot/export.go:38–41  ·  view source on GitHub ↗

Export exports the current workspace to a snapshot directory.

(celer *configs.Celer, exportDir string)

Source from the content-addressed store, hash-verified

36
37// Export exports the current workspace to a snapshot directory.
38func Export(celer *configs.Celer, exportDir string) error {
39 exporter := NewExporter(celer, exportDir)
40 return exporter.Export()
41}
42
43// Export performs the export operation.
44func (e *Exporter) Export() error {

Callers 1

CommandMethod · 0.92

Calls 2

ExportMethod · 0.95
NewExporterFunction · 0.85

Tested by

no test coverage detected