MCPcopy Create free account
hub / github.com/mscdex/ssh2 / flagsToHuman

Function flagsToHuman

test/test-sftp.js:833–842  ·  view source on GitHub ↗
(flags)

Source from the content-addressed store, hash-verified

831}
832
833function flagsToHuman(flags) {
834 const ret = [];
835
836 for (const [name, value] of Object.entries(OPEN_MODE)) {
837 if (flags & value)
838 ret.push(name);
839 }
840
841 return ret.join(' | ');
842}

Callers 1

test-sftp.jsFile · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…