MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / _checkAccess

Method _checkAccess

packages/core/file-system/index.ts:691–695  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

689 }
690
691 _checkAccess() {
692 if (this.isLocked) {
693 throw new Error('Cannot access a locked file.');
694 }
695 }
696}
697
698export class Folder extends FileSystemEntity {

Callers 14

appendMethod · 0.95
appendSyncMethod · 0.95
appendTextMethod · 0.95
appendTextSyncMethod · 0.95
copyMethod · 0.95
copySyncMethod · 0.95
readMethod · 0.95
readSyncMethod · 0.95
writeMethod · 0.95
writeSyncMethod · 0.95
readTextMethod · 0.95
readTextSyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected