CurryInfo: cpm-3.3.0 / CPM.FileUtil.getRealPath

definition:
getRealPath :: String -> IO String
getRealPath path = do
  (rc, out, _) <- evalCmd "realpath" [path] ""
  if rc == 0 then return (stripSpaces out)
             else getAbsolutePath path
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Returns the absolute real path for a given file path
--- by following all symlinks in all path components.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> _}
name:
getRealPath
precedence:
no precedence defined
result-values:
_
signature:
String -> Prelude.IO String
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term