Skip to content
Mickael Daniel edited this page Jan 30, 2013 · 2 revisions

file#expand

Performs a glob search with the provided pattern and optional Hash of options. Options can be any option supported by glob

  • pattern - Glob String pattern to look for
  • options - Hash of options matching glob's option.

Returns an Array of filenames matching the pattern

file#expandFiles

Performs a glob search with the provided pattern and optional Hash of options, filtering results to only return files (not directories). Options can be any option supported by glob

  • pattern - Glob String pattern to look for
  • options - Hash of options matching glob's option.

Returns an Array of filenames matching the pattern

file#isPathAbsolute

Checks a given file path being absolute or not. Borrowed to grunt's file API.

file#mkdir

simple facade to mkdirp.sync

Clone this wiki locally