Fix #585
This commit is contained in:
parent
9e14169e15
commit
019b110a8a
1 changed files with 2 additions and 1 deletions
|
|
@ -147,7 +147,8 @@ namespace FileManager
|
|||
private void AddPath(LongPath path)
|
||||
{
|
||||
path = path.LongPathName;
|
||||
if (!File.Exists(path) && !Directory.Exists(path))
|
||||
//Temporary files created when updating the db will disappear before their attributes can be read.
|
||||
if (Path.GetFileName(path).Contains("LibationContext.db") || !File.Exists(path) && !Directory.Exists(path))
|
||||
return;
|
||||
if (File.GetAttributes(path).HasFlag(FileAttributes.Directory))
|
||||
AddUniqueFiles(FileUtility.SaferEnumerateFiles(path, SearchPattern, SearchOption));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue