Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/bootdotdev/bootdev
/ FromContext
Function
FromContext
version/context.go:11–17 ·
view source on GitHub ↗
(ctx context.Context)
Source
from the content-addressed store, hash-verified
9
}
10
11
func
FromContext(ctx context.Context) *VersionInfo {
12
if
c, ok := ctx.Value(ContextKey).(*VersionInfo); ok {
13
return
c
14
}
15
16
return
nil
17
}
Callers
3
checkVersionStatus
Function · 0.92
requireUpdated
Function · 0.92
upgrade.go
File · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected