FF-1173 - updated for new file service

This commit is contained in:
John Andrews
2024-01-13 09:30:29 +13:00
parent de402c0e46
commit f665b01ebf
2 changed files with 17 additions and 0 deletions

View File

@@ -144,6 +144,12 @@ public class DeleteSourceDirectory : Node
{
args.Logger?.ILog("File: " + file);
}
if(files.Any(x => x.EndsWith(".fftemp")))
{
args.Logger?.ILog("Temporary FF file found, cannot delete.");
return 2;
}
if (IncludePatterns?.Any() == true)
{

View File

@@ -0,0 +1,11 @@
global using System;
global using System.IO;
global using System.Collections.Generic;
global using System.Linq;
global using System.Net.Http;
global using System.Text.RegularExpressions;
global using System.Threading;
global using System.Threading.Tasks;
global using FileFlows.Plugin;
global using FileFlows.Plugin.Attributes;