Sha256: 9775a4924cc67992f1a59f418be836d66b5f9cfc23c0c4cf4382f1d0bca92ddd

Contents?: true

Size: 1.98 KB

Versions: 4

Compression:

Stored size: 1.98 KB

Contents


ȏKQc@sOdZddlZddlZdZejdZdZdedZ	dS(s6Shared utility functions for scanning directory trees.iNsnnaze@google.com (Nathan Naze)s^.+\.js$cCst|dtS(sScans a directory tree for JavaScript files.

  Args:
    root: str, Path to a root directory.

  Returns:
    An iterable of paths to JS files, relative to cwd.
  tpath_filter(tScanTreet_JS_FILE_REGEX(troot((sS/Users/alexmahan/git/google-earth-day/closure/library/closure/bin/build/treescan.pytScanTreeForJsFiless	c
csd}xtj|d|D]\}}}x3|D]+}|r5|jdr5|j|q5q5Wxk|D]c}|r|jdrqkntjj||}	|r|j|	rqkntjj|	VqkWqWdS(szScans a directory tree for files.

  Args:
    root: str, Path to a root directory.
    path_filter: A regular expression filter.  If set, only paths matching
      the path_filter are returned.
    ignore_hidden: If True, do not follow or return hidden directories or files
      (those starting with a '.' character).

  Yields:
    A string path to files, relative to cwd.
  cSs
|dS(N((tos_error((sS/Users/alexmahan/git/google-earth-day/closure/library/closure/bin/build/treescan.pytOnError9stonerrort.N(tostwalkt
startswithtremovetpathtjointmatchtnormpath(
RRt
ignore_hiddenRtdirpathtdirnamest	filenamestdirnametfilenametfullpath((sS/Users/alexmahan/git/google-earth-day/closure/library/closure/bin/build/treescan.pyR+s	%

(
t__doc__R	tret
__author__tcompileRRtNonetTrueR(((sS/Users/alexmahan/git/google-earth-day/closure/library/closure/bin/build/treescan.pyt<module>s	

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
middleman-wizard-template-1.0.4 lib/middleman-wizard-template/template/closure/library/closure/bin/build/treescan.pyc
middleman-wizard-template-1.0.3 lib/middleman-wizard-template/template/closure/library/closure/bin/build/treescan.pyc
middleman-wizard-template-1.0.2 lib/middleman-wizard-template/template/closure/library/closure/bin/build/treescan.pyc
middleman-wizard-template-1.0.1 lib/middleman-wizard-template/template/closure/library/closure/bin/build/treescan.pyc