MCPcopy Create free account
hub / github.com/bufbuild/buf / newFile

Function newFile

private/pkg/tmp/tmp.go:125–130  ·  view source on GitHub ↗
(closer io.Closer, path string)

Source from the content-addressed store, hash-verified

123}
124
125func newFile(closer io.Closer, path string) *file {
126 return &file{
127 Closer: closer,
128 path: path,
129 }
130}
131
132func (f *file) Path() string {
133 return f.path

Callers 2

NewFileFunction · 0.70
NewDirFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…