MCPcopy Index your code
hub / github.com/OverloadBlitz/cloudcent-cli / MetadataGzPath

Function MetadataGzPath

internal/config/config.go:84–90  ·  view source on GitHub ↗

MetadataGzPath returns ~/.cloudcent/metadata.json.gz

()

Source from the content-addressed store, hash-verified

82
83// MetadataGzPath returns ~/.cloudcent/metadata.json.gz
84func MetadataGzPath() (string, error) {
85 dir, err := Dir()
86 if err != nil {
87 return "", err
88 }
89 return filepath.Join(dir, "metadata.json.gz"), nil
90}
91
92// DBPath returns ~/.cloudcent/cloudcent.db
93func DBPath() (string, error) {

Callers 2

DownloadMetadataGzMethod · 0.92
LoadMetadataFromFileFunction · 0.92

Calls 1

DirFunction · 0.85

Tested by

no test coverage detected