MCPcopy Create free account
hub / github.com/Debian/dcs / SourceReply

Struct SourceReply

internal/sourcebackend/sourcebackend.go:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 if err != nil {
130 return err
131 }
132
133 // Also load the base index if this is an overlay index.
134 var newBase *index.Index
135 var hidden map[string]bool
136 if _, err := os.Lstat(filepath.Join(indexDir, "base")); err == nil {
137 newBase, err = index.Open(filepath.Join(indexDir, "base"))
138 if err != nil {
139 newIndex.Close()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected