MCPcopy Index your code
hub / github.com/syncthing/syncthing / cleanupModelAndRemoveDir

Function cleanupModelAndRemoveDir

lib/model/testutils_test.go:208–211  ·  view source on GitHub ↗
(m *testModel, dir string)

Source from the content-addressed store, hash-verified

206}
207
208func cleanupModelAndRemoveDir(m *testModel, dir string) {
209 cleanupModel(m)
210 os.RemoveAll(dir)
211}
212
213type alwaysChangedKey struct {
214 fs fs.Filesystem

Callers 15

benchmarkIndexFunction · 0.85
benchmarkIndexUpdateFunction · 0.85
TestGlobalDirectoryTreeFunction · 0.85
benchmarkTreeFunction · 0.85
TestRemoveDirWithContentFunction · 0.85
TestConnCloseOnRestartFunction · 0.85
TestModTimeWindowFunction · 0.85
TestDevicePauseFunction · 0.85
TestDeviceWasSeenFunction · 0.85
TestIssue6961Function · 0.85

Calls 2

cleanupModelFunction · 0.85
RemoveAllMethod · 0.65

Tested by

no test coverage detected