Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/x-motemen/gore
/ Clear
Method
Clear
session.go:688–693 ·
view source on GitHub ↗
Clear the temporary directory.
()
Source
from the content-addressed store, hash-verified
686
687
// Clear the temporary directory.
688
func
(s *Session) Clear() error {
689
if
s.completer != nil {
690
_ = s.completer.close()
691
}
692
return
os.RemoveAll(s.tempDir)
693
}
Callers
15
TestSession_completeWord
Function · 0.95
TestAction_Type
Function · 0.95
TestAction_Doc
Function · 0.95
TestAction_Import
Function · 0.95
TestAction_Clear
Function · 0.95
TestAction_Help
Function · 0.95
TestAction_Quit
Function · 0.95
TestAction_CommandNotFound
Function · 0.95
TestAction_ArgumentRequired
Function · 0.95
TestSessionEval_import
Function · 0.95
TestSessionEval_QuickFix_evaluated_but_not_used
Function · 0.95
TestSessionEval_QuickFix_used_as_value
Function · 0.95
Calls
1
close
Method · 0.80
Tested by
15
TestSession_completeWord
Function · 0.76
TestAction_Type
Function · 0.76
TestAction_Doc
Function · 0.76
TestAction_Import
Function · 0.76
TestAction_Clear
Function · 0.76
TestAction_Help
Function · 0.76
TestAction_Quit
Function · 0.76
TestAction_CommandNotFound
Function · 0.76
TestAction_ArgumentRequired
Function · 0.76
TestSessionEval_import
Function · 0.76
TestSessionEval_QuickFix_evaluated_but_not_used
Function · 0.76
TestSessionEval_QuickFix_used_as_value
Function · 0.76