feat: Implement initial backend indexer for vaults, supporting file system scanning, markdown parsing, and in-memory metadata indexing.
This commit is contained in:
+1
-1
@@ -604,7 +604,7 @@ async def api_vaults(current_user=Depends(require_auth)):
|
||||
result = []
|
||||
for name, data in index.items():
|
||||
if "*" in user_vaults or name in user_vaults:
|
||||
v_type = vault_config.get(name, {}).get("type", "VAULT")
|
||||
v_type = data.get("config", {}).get("type", "VAULT")
|
||||
result.append({
|
||||
"name": name,
|
||||
"file_count": len(data["files"]),
|
||||
|
||||
Reference in New Issue
Block a user