Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added root inclusion/exclusion params to changesSinceV2
Summary: # Context We are introducing EdenFS notifications to support scalable and ergonomic file system notifications for EdenFS mounts. # This Diff * Added optional includeVCSRoots flag to ChangesSinceV2Params * Added optional includedRoots list to ChangesSinceV2Params * Added optional excludedRoots list to ChangesSinceV2Params * Changed VCSDirectories config to be a vector to make it ordered * Added new buildIncludedAndExcludedRoots to construct the included and excluded roots - including VCS roorts * Updated isPathIncluded to use new included and excluded roots # Next Steps * Add suffix (extension) filters - inclusion and exclusion. * Investigate best performance data structures for modeling inclusion and exclusion path filters (Watchman uses a radix tree search). * Change the journal walking code to scan for position then walk forwards - current implemantion walks backward. * .t tests, Python integration tests, C++ unit tests # Discussion Points None Reviewed By: MichaelCuevas Differential Revision: D66685181 fbshipit-source-id: ba412e3009e66e88a8c7b117549226f4cb81d427
- Loading branch information