MCPcopy Index your code
hub / github.com/jetify-com/devbox / ParseFile

Function ParseFile

internal/cuecfg/cuecfg.go:59–61  ·  view source on GitHub ↗
(path string, valuePtr any)

Source from the content-addressed store, hash-verified

57}
58
59func ParseFile(path string, valuePtr any) error {
60 return ParseFileWithExtension(path, filepath.Ext(path), valuePtr)
61}
62
63// ParseFileWithExtension lets the caller override the extension of the `path` filename
64// For example, project.csproj files should be treated as having extension .xml

Callers 6

SyncLockfilesFunction · 0.92
latestPackagesFunction · 0.92
FromProcessComposeFunction · 0.92
GetFileFunction · 0.92
readStateHashFileFunction · 0.92

Calls 1

ParseFileWithExtensionFunction · 0.85

Tested by

no test coverage detected