Package nl.knaw.dans.bagit
Class TestUtils
java.lang.Object
nl.knaw.dans.bagit.TestUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static void
makeFilesHiddenOnWindows
(Path startingDir) walk a directory and make sure that files/folders are hidden if they start with a .
-
Constructor Details
-
TestUtils
public TestUtils()
-
-
Method Details
-
isExecutingOnWindows
public static boolean isExecutingOnWindows() -
makeFilesHiddenOnWindows
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
-