[DAEMON-146] appcd-detect: Detect engine scans paths that were already recursively scanned
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2017-11-16T08:19:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.0.0 |
Components | appcd-detect |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2017-11-15T23:40:06.000+0000 |
Updated | 2017-11-16T08:19:25.000+0000 |
Description
Found an issue where the detect engine is finding the same thing more than once.
For example, say you have the search path
/opt
and the ANDROID_NDK
environment variable is pointing to /opt/android-ndk
. The search paths will be /opt
and /opt/android-ndk
. It will recursively scan /opt
and find the ndk in /opt/android-ndk
. However it will continue to scan the /opt/android
and find the same thing again.
The detect engine recursively walks the search paths in series, so it should be possible to track "visited" directories or "found" items.
No comments