MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / isExpired

Function isExpired

lib/interfaces/webdav-locks.ts:18–20  ·  view source on GitHub ↗
(lock: WebDavLock)

Source from the content-addressed store, hash-verified

16}
17
18function isExpired(lock: WebDavLock) {
19 return lock.expiresAt.getTime() <= Date.now();
20}
21
22function getAncestorPaths(path: string) {
23 const segments = path.split('/').filter(Boolean);

Callers 4

hasDescendantLockFunction · 0.85
findBlockingLockFunction · 0.85
refreshLockFunction · 0.85
releaseLockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected