Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
223
func
NewFile(f
func
() config.Root) *File {
224
return
&File{config: f}
225
}
226
227
func
(f *File) Read(_ *url.URL) (string, error) {
228
return
f.config().Session().Read()
Callers
2
ensureTokenBackend
Method · 0.92
TestFile
Function · 0.92
Calls
no outgoing calls
Tested by
1
TestFile
Function · 0.74