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

Method Delete

cli/sessionstore/sessionstore.go:34–34  ·  view source on GitHub ↗

Delete removes the session token for the given server URL or an error, if any. It will return os.ErrNotExist error if no token exists to delete.

(serverURL *url.URL)

Source from the content-addressed store, hash-verified

32 // Delete removes the session token for the given server URL or an error, if any.
33 // It will return os.ErrNotExist error if no token exists to delete.
34 Delete(serverURL *url.URL) error
35}
36
37var (

Callers 15

NewFunction · 0.65
aiProvidersHandlerFunction · 0.65
httpHandlerMethod · 0.65
cleanupStreamIfIdleMethod · 0.65
InvalidateUserPromptMethod · 0.65
releaseRunRefFunction · 0.65
CleanupStepCounterFunction · 0.65
DeleteMethod · 0.65
TestStartupLogsSenderFunction · 0.65

Calls

no outgoing calls

Tested by 7

TestStartupLogsSenderFunction · 0.52
setupKeyringTestEnvFunction · 0.52
TestKeyringFunction · 0.52
TestFileFunction · 0.52
newFakeLicenseAPIFunction · 0.52