Safe Haskell | None |
---|
Utilities for virtual clusters.
Synopsis
- getRootDirectory :: IO (Maybe FilePath)
- virtualPath :: FilePath -> FilePath -> FilePath
- makeVirtualPath :: FilePath -> IO FilePath
Documentation
getRootDirectory :: IO (Maybe FilePath) Source #
virtualPath :: FilePath -> FilePath -> FilePath Source #
Pure computation of the virtual path from the original path and the vcluster root
makeVirtualPath :: FilePath -> IO FilePath Source #
Given a path, make it a virtual one, if in a vcluster environment. Otherwise, return unchanged.