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

Function formatStatusLine

internal/cli/cli.go:248–255  ·  view source on GitHub ↗
(st model.RepoRuntimeState)

Source from the content-addressed store, hash-verified

246 return 1
247 }
248 return 0
249}
250
251func defaultRoot() string {
252 if runtime.GOOS == "darwin" {
253 if home, err := os.UserHomeDir(); err == nil {
254 return filepath.Join(home, ".local", "share", "artifact-fs")
255 }
256 }
257 return "/var/lib/artifact-fs"
258}

Calls 3

formatLastFetchAtFunction · 0.85
formatLastFetchResultFunction · 0.85
formatPrepareErrorFunction · 0.85