darcs-2.2.1: a distributed, interactive, smart revision control systemSource codeContentsIndex
Darcs.IO
Documentation
class (Functor m, MonadPlus m) => ReadableDirectory m whereSource
Methods
mDoesDirectoryExist :: FileName -> m BoolSource
mDoesFileExist :: FileName -> m BoolSource
mInCurrentDirectory :: FileName -> m a -> m aSource
mGetDirectoryContents :: m [FileName]Source
mReadBinFile :: FileName -> m StringSource
mReadFilePS :: FileName -> m ByteStringSource
mReadFilePSs :: FileName -> m [ByteString]Source
show/hide Instances
class ReadableDirectory m => WriteableDirectory m whereSource
Methods
mWithCurrentDirectory :: FileName -> m a -> m aSource
mSetFileExecutable :: FileName -> Bool -> m ()Source
mWriteBinFile :: FileName -> String -> m ()Source
mWriteFilePS :: FileName -> ByteString -> m ()Source
mWriteFilePSs :: FileName -> [ByteString] -> m ()Source
mCreateDirectory :: FileName -> m ()Source
mRemoveDirectory :: FileName -> m ()Source
mWriteDoc :: FileName -> Doc -> m ()Source
mCreateFile :: FileName -> m ()Source
mRemoveFile :: FileName -> m ()Source
mRename :: FileName -> FileName -> m ()Source
mModifyFilePS :: FileName -> (ByteString -> m ByteString) -> m ()Source
mModifyFilePSs :: FileName -> ([ByteString] -> m [ByteString]) -> m ()Source
show/hide Instances
data TolerantIO a Source
show/hide Instances
runTolerantly :: TolerantIO a -> IO aSource
runSilently :: SilentIO a -> IO aSource
Produced by Haddock version 2.4.2