File: fs-utils.coffee

Defined in: lib/resin/data/fs-utils

Method Summary

Method Details

~ (Boolean) isValidPath(p) Private

TODO: There should be more complex checks here

Check if valid path

console.log isValidPath('/Users/me') # True
console.log isValidPath([ 1, 2, 3 ]) # False

Parameters:

  • path ( String ) path

Returns:

  • ( Boolean ) — is valid path

~ (void) isDirectory(directory, callback) Private

Check if path is directory

console.log isDirectory('/usr/local/share') # True
console.log isDirectory('/Users/me/app.js') # False

Parameters:

  • directory ( String ) directory
  • callback ( Function ) callback(error, isDirectory)

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: