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

Function stringToFlags

lib/protocol/SFTP.js:2553–2556  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

2551};
2552
2553function stringToFlags(str) {
2554 const flags = stringFlagMap[str];
2555 return (flags !== undefined ? flags : null);
2556}
2557
2558const flagsToString = (() => {
2559 const stringFlagMapKeys = Object.keys(stringFlagMap);

Callers 1

openMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…