Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/gotify/server
/ Clean
Method
Clean
test/tmpdir.go:19–21 ·
view source on GitHub ↗
Clean removes the TmpDir.
()
Source
from the content-addressed store, hash-verified
17
18
// Clean removes the TmpDir.
19
func
(c TmpDir) Clean() error {
20
return
os.RemoveAll(c.path)
21
}
22
23
// NewTmpDir returns a new handle to a tmp dir.
24
func
NewTmpDir(prefix string) TmpDir {
Callers
13
TestInitializePlugin_noOpIfDotFile
Method · 0.95
TestInitializePlugin_noOpIfSubDir
Method · 0.95
TestInitializePlugin_brokenPlugin_expectError
Method · 0.95
TestWrapIncompatiblePlugins
Function · 0.95
TestInvalidDialect
Function · 0.95
TestCreateSqliteFolder
Function · 0.95
TestWithAlreadyExistingSqliteFolder
Function · 0.95
TestPanicsOnMkdirError
Function · 0.95
TestWithWd
Function · 0.95
TearDownSuite
Method · 0.80
TearDownSuite
Method · 0.80
AfterTest
Method · 0.80
Calls
no outgoing calls
Tested by
13
TestInitializePlugin_noOpIfDotFile
Method · 0.76
TestInitializePlugin_noOpIfSubDir
Method · 0.76
TestInitializePlugin_brokenPlugin_expectError
Method · 0.76
TestWrapIncompatiblePlugins
Function · 0.76
TestInvalidDialect
Function · 0.76
TestCreateSqliteFolder
Function · 0.76
TestWithAlreadyExistingSqliteFolder
Function · 0.76
TestPanicsOnMkdirError
Function · 0.76
TestWithWd
Function · 0.76
TearDownSuite
Method · 0.64
TearDownSuite
Method · 0.64
AfterTest
Method · 0.64