MCPcopy Create free account
hub / github.com/google/gapid / Find

Method Find

gapil/api.go:53–53  ·  view source on GitHub ↗

Find recieves the path to a desired import relative to the current file. The path it is supplied may not be valid, the loader should transform it into a valid path if possible or return a fully invalid path if the api file cannot be found.

(path file.Path)

Source from the content-addressed store, hash-verified

51 // into a valid path if possible or return a fully invalid path if the api
52 // file cannot be found.
53 Find(path file.Path) file.Path
54 // Load takes a path returned by Find and returns the content the path
55 // represents, or an error if the path was not valid.
56 Load(file.Path) ([]byte, error)

Callers 9

matchFunction · 0.65
DoMethod · 0.65
FindMethod · 0.65
parseMethod · 0.65
resolveMethod · 0.65
MemberMethod · 0.65
MemberMethod · 0.65
RunMethod · 0.65

Implementers 4

absLoadergapil/api.go
dataLoadergapil/api.go
searchListLoadergapil/api.go
docsLoadergapil/langsvr/analyze.go

Calls

no outgoing calls

Tested by

no test coverage detected