Class TestUtils

java.lang.Object
nl.knaw.dans.bagit.TestUtils

public class TestUtils extends Object
  • Constructor Details

    • TestUtils

      public TestUtils()
  • Method Details

    • isExecutingOnWindows

      public static boolean isExecutingOnWindows()
    • makeFilesHiddenOnWindows

      public static void makeFilesHiddenOnWindows(Path startingDir) throws IOException
      walk a directory and make sure that files/folders are hidden if they start with a . on windows.
      Parameters:
      startingDir - the directory to start walking
      Throws:
      IOException - if there is a problem setting the file/folder to be hidden