mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-05 23:13:08 +00:00
Debugs local file fetch
This commit is contained in:
parent
5dacffa720
commit
5c56e4796f
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user