Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kopia/kopia
/ Lock
Method
Lock
tests/robustness/pathlock/path_lock.go:23–23 ·
view source on GitHub ↗
(path string)
Source
from the content-addressed store, hash-verified
21
// - Allows a Lock call for path /a/x
22
type
Locker
interface
{
23
Lock(path string) (Unlocker, error)
24
}
25
26
// Unlocker unlocks from a previous invocation of Lock().
Callers
15
TestPathLockBasic
Function · 0.95
TestPathLockWithoutBlock
Function · 0.95
TestPathLockRace
Function · 0.95
Send
Method · 0.65
output
Method · 0.65
EstimatedDataSize
Method · 0.65
output
Method · 0.65
run
Method · 0.65
outputSyncProgress
Method · 0.65
runSyncBlobs
Method · 0.65
registerStorageProvider
Function · 0.65
getRegisteredStorageProviders
Function · 0.65
Implementers
3
NullPathLocker
tests/tools/fio/fio.go
pathLock
tests/robustness/pathlock/path_lock.go
lockState
fs/cachefs/cache_test.go
Calls
no outgoing calls
Tested by
15
TestPathLockBasic
Function · 0.76
TestPathLockWithoutBlock
Function · 0.76
TestPathLockRace
Function · 0.76
TestMetricsPushFlags
Function · 0.52
enter
Method · 0.52
exit
Method · 0.52
verifyCacheExpiration
Function · 0.52
runMaintenanceTask
Method · 0.52
TestServerMaintenance
Function · 0.52
TestIterateAllPrefixesInParallel
Function · 0.52
randLongHex
Function · 0.52
TestThrottlingSemaphore
Function · 0.52