src/Stratis.FederatedPeg.Tests/CrossChainTestBase.cs
/// <summary>
/// Creates a new folder that will be empty.
/// </summary>
/// <param name="dir">The first part of the folder name.</param>
/// <returns>A folder name with the current time concatenated.</returns>
Creates a new folder that will be empty.
Creates a new folder that will be empty .
public static string AssureEmptyDir(string dir)
        {
            string uniqueDirName = $"{dir}-{DateTime.UtcNow:ddMMyyyyTHH.mm.ss.fff}";
            Directory.CreateDirectory(uniqueDirName);
            return uniqueDirName;
        }
public static string AssureEmptyDir ( string dir ) { string uniqueDirName = $" { dir } - { DateTime . UtcNow : } " ; Directory . CreateDirectory ( uniqueDirName ) ; return uniqueDirName ; }
Creates a new folder that will be empty.
Creates a new folder that will be empty .
A folder name with the current time concatenated.
A folder name with the current time concatenated .
dir
string
The first part of the folder name.
The first part of the folder name .