diff options
author | Dan Willemsen <dwillemsen@google.com> | 2015-10-12 15:26:52 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2015-10-13 16:14:57 -0700 |
commit | 57a64e015c0dd670f9adf5a2016526678ce96a1e (patch) | |
tree | 3fc03651106d774fea3e16d9e1fca70ae5061884 /tools/releasetools/common.py | |
parent | 7a74e5ee0e6c41395493d9259ccfff80717a4eaf (diff) | |
download | build-57a64e015c0dd670f9adf5a2016526678ce96a1e.zip build-57a64e015c0dd670f9adf5a2016526678ce96a1e.tar.gz build-57a64e015c0dd670f9adf5a2016526678ce96a1e.tar.bz2 |
Add all-named-(dirs|files)-under and related
To consolidate the number of places that we're using 'find' in the tree,
add some more helpers:
all-named-dirs-under
all-subdir-named-dirs
all-named-files-under
all-subdir-named-files
This change also makes many of the current helpers use these helpers
instead of using their own implementation.
The 'dirs' helpers are using '-type d' so that they only output
directories. It's probably safe to use '-type f' for the files helpers,
but that increased the kati load time by ~20%.
Bug: 24204119
Change-Id: I3312e2fe8c146f10955e1d986ad15d9c8be494e1
Diffstat (limited to 'tools/releasetools/common.py')
0 files changed, 0 insertions, 0 deletions