You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
id_to_resources should be of type HashMap<HashType, Vec<IndexedResource>> instead of HashMap<ResourceId, CanonicalPathBuf> because one id can map to multiple resource in case of collisions or same content
The difference between watch_index and ark-cli monitor is that watch_index uses notify to only update the index when a file system change is detected, as opposed to rebuilding the index from scratch on a time interval.
Create examples folder:
Include one example showing the normal scenario of creating a new index in a specified path and using the API.
Include another example showcasing index watch functionality.
This is a tracking issue for brainstorming ideas to enhance
fs-index
crateResourceIndex
exposed API should be as discussed here Refactor the API forResourceIndex
arklib#91 (comment)id_to_resources
should be of typeHashMap<HashType, Vec<IndexedResource>>
instead ofHashMap<ResourceId, CanonicalPathBuf>
because one id can map to multiple resource in case of collisions or same contentResourceIndex::update()
to rebuild the index and compare with the old index. Benchmarking for this feature should be conducted as per issue Enhance Benchmarking Suite and Add Profiling Support #30.fs-index
: Filesystem monitoring usingnotify-rs
#21.index.rs
.Serialize
implementation forResourceIndex
where double mappings are not written.The text was updated successfully, but these errors were encountered: