From 2b6fdd6df1b9100e9e8ed667df0a5d2f9b2d0e48 Mon Sep 17 00:00:00 2001 From: Seun Akanni Date: Wed, 5 Aug 2026 17:08:01 +0100 Subject: [PATCH 1/2] ci(sandbox): pin harness at develop From ac2f4ac550d49e13e79f17f86ca0e9b36662b014 Mon Sep 17 00:00:00 2001 From: Seun Akanni Date: Wed, 5 Aug 2026 17:08:03 +0100 Subject: [PATCH 2/2] test(sandbox): signature change with PreviousVersion, develop control --- File_Engine/Compute/NewFilenameIfExists.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/File_Engine/Compute/NewFilenameIfExists.cs b/File_Engine/Compute/NewFilenameIfExists.cs index d5000f25..141cffec 100644 --- a/File_Engine/Compute/NewFilenameIfExists.cs +++ b/File_Engine/Compute/NewFilenameIfExists.cs @@ -22,6 +22,7 @@ using System; using System.Collections.Generic; +using BH.oM.Base.Attributes; using System.ComponentModel; using System.IO; using System.Linq; @@ -34,7 +35,8 @@ public static partial class Compute { [Description("If the targetPath points to a file that exists, return the same filepath with appended `- Copy (i)`, " + "where `i` is the first index pointing to a non existing file.")] - public static string NewFilenameIfExists(string targetPath) + [PreviousVersion("9.3", "BH.Engine.Adapters.File.Compute.NewFilenameIfExists(System.String)")] + public static string NewFilenameIfExists(string targetPath, bool skipTrailingNumber = false) { int i = 0; do