Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
27
func
setup(t *testing.T) (*BasicFilesystem, string) {
28
t.Helper()
29
dir := t.TempDir()
30
return
newBasicFilesystem(dir), dir
31
}
32
33
func
TestChmodFile(t *testing.T) {
34
fs, dir := setup(t)
Callers
15
TestRealCase
Function · 0.85
TestRealCaseSensitive
Function · 0.85
TestCaseFSStat
Function · 0.85
TestChmodFile
Function · 0.85
TestChownFile
Function · 0.85
TestChmodDir
Function · 0.85
TestChtimes
Function · 0.85
TestCreate
Function · 0.85
TestCreateSymlink
Function · 0.85
TestDirNames
Function · 0.85
TestNames
Function · 0.85
TestGlob
Function · 0.85
Calls
2
newBasicFilesystem
Function · 0.85
Helper
Method · 0.80
Tested by
no test coverage detected