The purpose of this repository is to provide a way for people to create placeholder images quickly. https://www.craigoates.net/Software/project/11
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
401 B

// Learn more about F# at http://fsharp.org
// See the 'F# Tutorial' project for more help.
open System.IO
let saveLocation = __SOURCE_DIRECTORY__ + "/SavingTestArea/"
let resetSavingTestArea () =
let files = Directory.GetFileSystemEntries(saveLocation)
match files.Length with
| 0 -> ()
| _ ->
files
|> Array.iter (fun f -> File.Delete(f))
resetSavingTestArea ()