MCPcopy Create free account
hub / github.com/socketstream/socketstream / isHidden

Function isHidden

lib/utils/file.js:30–32  ·  view source on GitHub ↗

* Identifies if the path is hidden * * @param {String} path * @return {Boolean}

(path)

Source from the content-addressed store, hash-verified

28 * @return {Boolean}
29 */
30function isHidden(path) {
31 return path.match(/(^_|^\.|~$)/);
32}
33
34/**
35 * Identifies if the path is directory

Callers 1

isDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected