MCPcopy Index your code
hub / github.com/coder/coder / NewFile

Function NewFile

cli/sessionstore/sessionstore.go:223–225  ·  view source on GitHub ↗
(f func() config.Root)

Source from the content-addressed store, hash-verified

221}
222
223func NewFile(f func() config.Root) *File {
224 return &File{config: f}
225}
226
227func (f *File) Read(_ *url.URL) (string, error) {
228 return f.config().Session().Read()

Callers 2

ensureTokenBackendMethod · 0.92
TestFileFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestFileFunction · 0.74