Save uncommitted changes
Build / Lint & Test (push) Successful in 36s

This commit is contained in:
PickleRick committed 2026-09-21 22:49:46 +02:00
1 parent 594889ea10
commit 68166ad7eb
6 files changed
+32 -4

No files matched your search

@@ -33,6 +33,14 @@ const details = () => ({
inputUI: { type: 'dropdown', options: ['auto', 'native', 'stream'] },
tooltip: 'Auto uses the operating system copy API; stream is a fallback for problematic mounts.',
},
{
label: 'Stream buffer size (MB)',
name: 'bufferSizeMb',
type: 'string',
defaultValue: '16',
inputUI: { type: 'dropdown', options: ['4', '16', '64'] },
tooltip: 'Used only with stream copy; larger values can improve high-latency SMB mounts.',
},
],
outputs: [{ number: 1, tooltip: 'Original file replaced — continue to next plugin' }],
});
@@ -71,6 +79,7 @@ const plugin = async (args) => {
updateProgress: args.updateProgress,
label: 'replaceOriginalFile',
copyMethod: args.inputs.copyMethod || 'auto',
bufferSizeMb: args.inputs.bufferSizeMb || '16',
});
if (fs.existsSync(destination)) {