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

Function uploadOverwriteFailIf

tests/security/upload_overwrite_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 uploadOverwriteFailIf(bool $cond, string $message, array &$errors): void
12{
13 if ($cond) {
14 $errors[] = $message;
15 }
16}
17
18function uploadOverwriteRmTree(string $dir): void
19{

Calls

no outgoing calls

Tested by

no test coverage detected