@private @method dir @return {Array} list of files in the given directory or and empty array if no directory exists
(fullPath)
| 1733 | @return {Array} list of files in the given directory or and empty array if no directory exists |
| 1734 | */ |
| 1735 | function dir(fullPath) { |
| 1736 | if (Blueprint._existsSync(fullPath)) { |
| 1737 | return Blueprint._readdirSync(fullPath).map((fileName) => path.join(fullPath, fileName)); |
| 1738 | } else { |
| 1739 | return []; |
| 1740 | } |
| 1741 | } |
| 1742 | |
| 1743 | /** |
| 1744 | @private |
no outgoing calls
no test coverage detected