Tuned up local file handling and cleaned things up

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2023-11-22 12:37:25 -05:00
parent ab4af83649
commit f56cdeae9e
17 changed files with 208 additions and 111 deletions

View File

@@ -1366,6 +1366,9 @@ func TestRolodex_SimpleTest_OneDoc(t *testing.T) {
assert.Equal(t, fs.FileMode(0), f.Mode())
assert.Len(t, f.GetErrors(), 0)
// check the index has a rolodex reference
assert.NotNil(t, idx.GetRolodex())
// re-run the index should be a no-op
assert.NoError(t, rolo.IndexTheRolodex())
rolo.CheckForCircularReferences()