MCPcopy Create free account
hub / github.com/error311/FileRise / setupLockFailIf

Function setupLockFailIf

tests/security/setup_lock_regressions.php:11–16  ·  view source on GitHub ↗
(bool $cond, string $message, array &$errors)

Source from the content-addressed store, hash-verified

9$sessionDir = $tmpBase . '/sessions/';
10
11function setupLockFailIf(bool $cond, string $message, array &$errors): void
12{
13 if ($cond) {
14 $errors[] = $message;
15 }
16}
17
18function setupLockRmTree(string $dir): void
19{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected