CurryInfo: verify-non-fail-2.0.0 / Verify.Files.deleteVerifyCacheDirectory

definition:
deleteVerifyCacheDirectory :: Options -> IO ()
deleteVerifyCacheDirectory opts = do
  cachedir <- getVerifyCacheDirectory (optDomainID opts)
  exists   <- doesDirectoryExist cachedir
  when exists $ do
    printWhenStatus opts $ "Deleting directory '" ++ cachedir ++ "''..."
    system $ "rm -Rf " ++ quote cachedir
    return ()
 where
  quote s = "\"" ++ s ++ "\""
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Delete the tool's cache directory (for the Curry system).
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> _}
name:
deleteVerifyCacheDirectory
precedence:
no precedence defined
result-values:
_
signature:
Verify.Options.Options -> Prelude.IO ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term