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

Method isFile

lib/protocol/SFTP.js:2431–2433  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2429 return ((this.mode & constants.S_IFMT) === constants.S_IFDIR);
2430 }
2431 isFile() {
2432 return ((this.mode & constants.S_IFMT) === constants.S_IFREG);
2433 }
2434 isBlockDevice() {
2435 return ((this.mode & constants.S_IFMT) === constants.S_IFBLK);
2436 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected