MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / lockTestZeroDepth

Function lockTestZeroDepth

server/webdav/lock_test.go:88–96  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

86}
87
88func lockTestZeroDepth(name string) bool {
89 switch name[len(name)-1] {
90 case 'i':
91 return false
92 case 'z':
93 return true
94 }
95 panic(fmt.Sprintf("lock name %q did not end with 'i' or 'z'", name))
96}
97
98func TestMemLSCanCreate(t *testing.T) {
99 now := time.Unix(0, 0)

Callers 3

TestMemLSCanCreateFunction · 0.85
TestMemLSLookupFunction · 0.85
TestMemLSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected