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

Method path

src/FileRise/Support/ACL.php:42–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 ];
41
42 private static function path(): string
43 {
44 $metaRoot = class_exists('SourceContext') ? SourceContext::metaRoot() : rtrim((string)META_DIR, '/\\') . DIRECTORY_SEPARATOR;
45 if (!self::$path || self::$metaRoot !== $metaRoot) {
46 self::$metaRoot = $metaRoot;
47 self::$path = self::pathForMetaRoot($metaRoot);
48 self::$cache = null;
49 self::resetMemo();
50 }
51 return self::$path;
52 }
53
54 private static function pathForMetaRoot(string $metaRoot): string
55 {

Callers 11

memoScopeMethod · 0.95
purgeUserMethod · 0.95
migrateSubtreeMethod · 0.95
loadFreshMethod · 0.95
saveMethod · 0.95
applyUserGrantsAtomicMethod · 0.95
getMetadataPathMethod · 0.45
loadMetaMethod · 0.45
metaFileMethod · 0.45

Calls 3

pathForMetaRootMethod · 0.95
resetMemoMethod · 0.95
metaRootMethod · 0.45

Tested by

no test coverage detected