MCPcopy
hub / github.com/syncthing/syncthing / setup

Function setup

lib/fs/basicfs_test.go:27–31  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25)
26
27func setup(t *testing.T) (*BasicFilesystem, string) {
28 t.Helper()
29 dir := t.TempDir()
30 return newBasicFilesystem(dir), dir
31}
32
33func TestChmodFile(t *testing.T) {
34 fs, dir := setup(t)

Callers 15

TestRealCaseFunction · 0.85
TestRealCaseSensitiveFunction · 0.85
TestCaseFSStatFunction · 0.85
TestChmodFileFunction · 0.85
TestChownFileFunction · 0.85
TestChmodDirFunction · 0.85
TestChtimesFunction · 0.85
TestCreateFunction · 0.85
TestCreateSymlinkFunction · 0.85
TestDirNamesFunction · 0.85
TestNamesFunction · 0.85
TestGlobFunction · 0.85

Calls 2

newBasicFilesystemFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected