mar-file-system / GUFI

Grand Unified File-Index
Other
46 stars 23 forks source link

Fix root path processing and enable indexing multiple paths at once #96

Closed calccrypto closed 2 years ago

calccrypto commented 2 years ago

gufi_dir2index and gufi_trace2index with paths /path/to/src and /path/to/index previous: /path/to/src/* would go into /path/to/index/ now: create /path/to/index/src

/path/to/index/db.db not created since /path/to/index has no source (unless / is indexed)

no longer have cases where the source root directory gets renamed previously, /path/to/index/db.db would contain the name src even though path() returned /path/to/index

allows for multiple sources to be indexed at the same time with 1 command non-root directories get placed in their own subdirectories root directory still gets placed directly in /path/to/index

trace file root directory is no longer an empty string