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

Method isReadOnly

src/FileRise/Storage/SourceContext.php:124–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 }
123
124 public static function isReadOnly(): bool
125 {
126 $src = self::getActiveSource();
127 return !empty($src['readOnly']);
128 }
129
130 public static function isTrashDisabled(): bool
131 {

Callers 15

callbackMethod · 0.80
capabilitiesMethod · 0.80
requireNotReadOnlyMethod · 0.80
moveFolderMethod · 0.80
handleUploadMethod · 0.80
removeChunksMethod · 0.80
checkExistingMethod · 0.80
copyFilesMethod · 0.80
moveFilesMethod · 0.80
renameFileMethod · 0.80
saveFileMethod · 0.80
extractZipMethod · 0.80

Calls 1

getActiveSourceMethod · 0.95

Tested by

no test coverage detected