mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-02-05 16:09:11 -06:00
updated copy/move to use new create directory helper in nodeparameters
fixed spelling mistake
This commit is contained in:
Binary file not shown.
@@ -79,7 +79,7 @@
|
||||
"Description": "Tests the working file and original file against a regular expression.\n\nOutput 1: Matches expression\nOutput 2: Does not match",
|
||||
"Fields": {
|
||||
"Pattern": "Pattern",
|
||||
"Pattern-Help": "A regular expression, using the C# specifciation for regular expressions."
|
||||
"Pattern-Help": "A regular expression, using the C# specification for regular expressions."
|
||||
}
|
||||
},
|
||||
"PatternReplacer": {
|
||||
|
||||
@@ -52,8 +52,7 @@ namespace FileFlows.BasicNodes.File
|
||||
dest = Path.Combine(dest, new FileInfo(args.FileName).Name);
|
||||
|
||||
var destDir = new FileInfo(dest).DirectoryName;
|
||||
if (Directory.Exists(destDir) == false)
|
||||
Directory.CreateDirectory(destDir);
|
||||
args.CreateDirectoryIfNotExists(destDir ?? String.Empty);
|
||||
|
||||
// have to use file streams so we can report progress
|
||||
int bufferSize = 1024 * 1024;
|
||||
|
||||
@@ -49,8 +49,7 @@ namespace FileFlows.BasicNodes.File
|
||||
}
|
||||
|
||||
var destDir = fiDest.DirectoryName;
|
||||
if (string.IsNullOrEmpty(destDir) == false && Directory.Exists(destDir) == false)
|
||||
Directory.CreateDirectory(destDir);
|
||||
args.CreateDirectoryIfNotExists(destDir ?? String.Empty);
|
||||
|
||||
if (args.MoveFile(dest) == false)
|
||||
return -1;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,17 +1,17 @@
|
||||
[
|
||||
{
|
||||
"Name": "BasicNodes",
|
||||
"Version": "0.0.1.16",
|
||||
"Version": "0.0.1.17",
|
||||
"Package": "https://github.com/revenz/FileFlowsPlugins/blob/master/Builds/BasicNodes.zip?raw=true"
|
||||
},
|
||||
{
|
||||
"Name": "MetaNodes",
|
||||
"Version": "0.0.1.16",
|
||||
"Version": "0.0.1.17",
|
||||
"Package": "https://github.com/revenz/FileFlowsPlugins/blob/master/Builds/MetaNodes.zip?raw=true"
|
||||
},
|
||||
{
|
||||
"Name": "VideoNodes",
|
||||
"Version": "0.0.1.16",
|
||||
"Version": "0.0.1.17",
|
||||
"Package": "https://github.com/revenz/FileFlowsPlugins/blob/master/Builds/VideoNodes.zip?raw=true"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user