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

Method markSetupComplete

src/FileRise/Domain/UserModel.php:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 }
21
22 public static function markSetupComplete(): bool
23 {
24 $payload = json_encode(['completedAt' => time()], JSON_PRETTY_PRINT);
25 return self::writeAtomic(self::setupCompletePath(), $payload !== false ? $payload : '{}');
26 }
27
28 public static function hasSetupCompleteMarker(): bool
29 {

Callers 2

isInitialSetupAllowedMethod · 0.95
addUserMethod · 0.95

Calls 2

writeAtomicMethod · 0.95
setupCompletePathMethod · 0.95

Tested by

no test coverage detected