MCPcopy Create free account
hub / github.com/cloudflare/artifact-fs / formatLastFetchAt

Function formatLastFetchAt

internal/cli/cli.go:257–262  ·  view source on GitHub ↗
(at time.Time)

Source from the content-addressed store, hash-verified

255 }
256 }
257 return "/var/lib/artifact-fs"
258}
259
260// withService creates a daemon.Service for the duration of the action.
261func withService(ctx context.Context, root string, stderr io.Writer, fn func(*ucli.Context, *daemon.Service) error) ucli.ActionFunc {
262 return func(c *ucli.Context) error {
263 logger := logging.NewJSONLogger(stderr, slog.LevelInfo)
264 svc, err := daemon.New(ctx, root, logger)
265 if err != nil {

Callers 1

formatStatusLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected