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

Method buildSharedFolderKey

src/FileRise/Domain/FolderModel.php:2495–2501  ·  view source on GitHub ↗
(string $shareRootKey, string $subPath)

Source from the content-addressed store, hash-verified

2493 }
2494
2495 private static function buildSharedFolderKey(string $shareRootKey, string $subPath): string
2496 {
2497 if ($shareRootKey === '' || strtolower($shareRootKey) === 'root') {
2498 return $subPath === '' ? 'root' : $subPath;
2499 }
2500 return $subPath === '' ? $shareRootKey : ($shareRootKey . '/' . $subPath);
2501 }
2502
2503 private static function extractStatMtime(array $stat): ?int
2504 {

Callers 3

getSharedFileInfoMethod · 0.95
uploadToSharedFolderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected