MCPcopy Create free account
hub / github.com/diffusionstudio/vits-web / flagsToPermissionString

Function flagsToPermissionString

src/piper.js:2056–2062  ·  view source on GitHub ↗
(flag)

Source from the content-addressed store, hash-verified

2054 return (mode & 49152) === 49152;
2055 },
2056 flagsToPermissionString(flag) {
2057 var perms = ['r', 'w', 'rw'][flag & 3];
2058 if (flag & 512) {
2059 perms += 'w';
2060 }
2061 return perms;
2062 },
2063 nodePermissions(node, perms) {
2064 if (FS.ignorePermissions) {
2065 return 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected