aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skyframe/RecursiveDirectoryTraversalFunction.java
Commit message (Collapse)AuthorAge
* Log error description, not implementation detailsGravatar Mark Schaller2015-07-10
| | | | | | | | RecursiveDirectoryTraversalFunction should provide a description of what went wrong to the user instead of logging class names. -- MOS_MIGRATED_REVID=97878795
* Handle errors from DirectoryListingFunctionGravatar Mark Schaller2015-07-10
| | | | | | | | | | | | | | | | | | | SkyFunctions that call DirectoryListingFunction directly, as in the case of RecursiveDirectoryTraversalFunction, or transitively, as in the case of IncludeParser's call to GlobFunction, had been failing to handle the exceptions that DirectoryListingFunction can throw. DirectoryListingFunction can throw InconsistentFilesystemException directly, but it can also throw IOException and FileOutsidePackageRootsException because of its call to DirectoryListingStateFunction without any of its own error handling. RecursiveFilesystemTraversalFunction also calls DirectoryListingFunction, but is not yet in use. A follow-up CL will take care of its error handling needs. -- MOS_MIGRATED_REVID=97828177
* Extract RecursiveDirectoryTraversalFunction from RecursivePkgFunctionGravatar Mark Schaller2015-06-30
RecursivePkgFunction has a nice framework for doing work across a directory structure that would be nice to have access to when writing other similar SkyFunctions. This extracts that general framework, and changes RecursivePkgFunction into a specialization of it. -- MOS_MIGRATED_REVID=97231974