MCPcopy Create free account
hub / github.com/microsoft/typescript-go / GetContents

Method GetContents

internal/packagejson/cache.go:133–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131}
132
133func (p *InfoCacheEntry) GetContents() *PackageJson {
134 if p == nil || p.Contents == nil {
135 return nil
136 }
137 return p.Contents
138}
139
140func (p *InfoCacheEntry) GetDirectory() string {
141 if p == nil {

Callers 3

GetSymlinkCacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected