Debugs local file fetch

This commit is contained in:
ThatBen 2025-02-28 16:45:14 +01:00
parent 5dacffa720
commit 5c56e4796f
No known key found for this signature in database
GPG Key ID: 62C543548433D43E

View File

@ -108,10 +108,8 @@ namespace AutoClient.Modes.FolderStore
var result = instance.Node.LocalFiles();
if (result == null) return false;
if (result.Content == null) return false;
var localCids = result.Content.Where(c => c.Cid != null && !string.IsNullOrEmpty(c.Cid.Id)).Select(c => c.Cid.Id).ToArray();
Log("Local CIDs: " + string.Join(",", localCids));
var localCids = result.Content.Where(c => !string.IsNullOrEmpty(c.Cid.Id)).Select(c => c.Cid.Id).ToArray();
var isFound = localCids.Any(c => c.ToLowerInvariant() == entry.BasicCid.ToLowerInvariant());
if (isFound)
{