You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases I need to create a file tree with several folder and/or files.
the interface would be :
/**
* Createafiletree.
* @paramroottherootdir, MUSTexist.
* @parampatheslistofpathes, relativetotheroot. ".."areforbidden ; theseparatoris "/" ; a path finishing with a "/" is a folder, otherwise it is an empty file ; a "," can be used to create a bunch of files/folders at the same location.
createFileTree(File root, String[] pathes)
Test suite :
"a/b" create the folder "a" containing the file "b"
"a/c/ create the folder "a" containing the folder "c"
"a/d,e/,f" create the folder "a" containing the files d and f and the folder "e"
"a/g,h/i" create the folder "a" containing the file "g" and the folder "h" that contains the file "i"
The text was updated successfully, but these errors were encountered:
In some cases I need to create a file tree with several folder and/or files.
the interface would be :
Test suite :
The text was updated successfully, but these errors were encountered: