Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > a0995fd4c38add851d8e9994a3499e40 > files > 404

ghc-darcs-devel-2.4.4-3.fc14.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Darcs.SlurpDirectory.Internal</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_Darcs-SlurpDirectory-Internal.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>darcs-2.4.4: a distributed, interactive, smart revision control system</TD
><TD CLASS="topbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html"
>Source code</A
></TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Darcs.SlurpDirectory.Internal</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>SlurpDirectory is intended to give a nice lazy way of traversing directory
 trees.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ASlurpy"
>Slurpy</A
>  = <A HREF="#v%3ASlurpy"
>Slurpy</A
> !<A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> !<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpyContents"
>SlurpyContents</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ASlurpyContents"
>SlurpyContents</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3ASlurpDir"
>SlurpDir</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>) SlurpyMap</TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ASlurpFile"
>SlurpFile</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AEpochTime"
>EpochTime</A
>, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AFileOffset"
>FileOffset</A
>) <A HREF="Darcs-SlurpDirectory-Internal.html#t%3AFileContents"
>FileContents</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurpies_to_map"
>slurpies_to_map</A
> :: [<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>] -&gt; SlurpyMap</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Amap_to_slurpies"
>map_to_slurpies</A
> :: SlurpyMap -&gt; [<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>type</SPAN
> <A HREF="#t%3AFileContents"
>FileContents</A
> = <A HREF="/usr/share/doc/ghc/html/libraries/bytestring-0.9.1.7/Data-ByteString.html#t%3AByteString"
>ByteString</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aempty_slurpy"
>empty_slurpy</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp"
>slurp</A
> :: <A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> p =&gt; p -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Ammap_slurp"
>mmap_slurp</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_unboring"
>slurp_unboring</A
> :: (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
>) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aco_slurp"
>co_slurp</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_name"
>slurp_name</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Ais_file"
>is_file</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Ais_dir"
>is_dir</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aget_filecontents"
>get_filecontents</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3AFileContents"
>FileContents</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aget_dircontents"
>get_dircontents</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aget_mtime"
>get_mtime</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AEpochTime"
>EpochTime</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aget_length"
>get_length</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AFileOffset"
>FileOffset</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aget_slurp"
>get_slurp</A
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_removefile"
>slurp_removefile</A
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_removedir"
>slurp_removedir</A
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_remove"
>slurp_remove</A
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_modfile"
>slurp_modfile</A
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; (<A HREF="Darcs-SlurpDirectory-Internal.html#t%3AFileContents"
>FileContents</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3AFileContents"
>FileContents</A
>) -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_hasfile"
>slurp_hasfile</A
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_hasdir"
>slurp_hasdir</A
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_has_anycase"
>slurp_has_anycase</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aundefined_time"
>undefined_time</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AEpochTime"
>EpochTime</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aundefined_size"
>undefined_size</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AFileOffset"
>FileOffset</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aslurp_has"
>slurp_has</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Alist_slurpy"
>list_slurpy</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Alist_slurpy_files"
>list_slurpy_files</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aget_path_list"
>get_path_list</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Alist_slurpy_dirs"
>list_slurpy_dirs</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AisFileReallySymlink"
>isFileReallySymlink</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdoesFileReallyExist"
>doesFileReallyExist</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdoesDirectoryReallyExist"
>doesDirectoryReallyExist</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ASlurpMonad"
>SlurpMonad</A
> a</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AwithSlurpy"
>withSlurpy</A
> ::  <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpMonad"
>SlurpMonad</A
> a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Either.html#t%3AEither"
>Either</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> (<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>, a)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Awrite_files"
>write_files</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AwriteSlurpy"
>writeSlurpy</A
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AsyncSlurpy"
>syncSlurpy</A
> :: (<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>) -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Documentation</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:Slurpy"
><A NAME="t%3ASlurpy"
></A
></A
><B
>Slurpy</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#Slurpy"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:Slurpy"
><A NAME="v%3ASlurpy"
></A
></A
><B
>Slurpy</B
> !<A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> !<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpyContents"
>SlurpyContents</A
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Slurpy')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:Slurpy" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:SlurpyContents"
><A NAME="t%3ASlurpyContents"
></A
></A
><B
>SlurpyContents</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#SlurpyContents"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:SlurpDir"
><A NAME="v%3ASlurpDir"
></A
></A
><B
>SlurpDir</B
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>) SlurpyMap</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:SlurpFile"
><A NAME="v%3ASlurpFile"
></A
></A
><B
>SlurpFile</B
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AEpochTime"
>EpochTime</A
>, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AFileOffset"
>FileOffset</A
>) <A HREF="Darcs-SlurpDirectory-Internal.html#t%3AFileContents"
>FileContents</A
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurpies_to_map"
><A NAME="v%3Aslurpies_to_map"
></A
></A
><B
>slurpies_to_map</B
> :: [<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>] -&gt; SlurpyMap</TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurpies_to_map"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:map_to_slurpies"
><A NAME="v%3Amap_to_slurpies"
></A
></A
><B
>map_to_slurpies</B
> :: SlurpyMap -&gt; [<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#map_to_slurpies"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>type</SPAN
> <A NAME="t:FileContents"
><A NAME="t%3AFileContents"
></A
></A
><B
>FileContents</B
> = <A HREF="/usr/share/doc/ghc/html/libraries/bytestring-0.9.1.7/Data-ByteString.html#t%3AByteString"
>ByteString</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#FileContents"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:empty_slurpy"
><A NAME="v%3Aempty_slurpy"
></A
></A
><B
>empty_slurpy</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#empty_slurpy"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp"
><A NAME="v%3Aslurp"
></A
></A
><B
>slurp</B
> :: <A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> p =&gt; p -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:mmap_slurp"
><A NAME="v%3Ammap_slurp"
></A
></A
><B
>mmap_slurp</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#mmap_slurp"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_unboring"
><A NAME="v%3Aslurp_unboring"
></A
></A
><B
>slurp_unboring</B
> :: (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
>) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_unboring"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:co_slurp"
><A NAME="v%3Aco_slurp"
></A
></A
><B
>co_slurp</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#co_slurp"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_name"
><A NAME="v%3Aslurp_name"
></A
></A
><B
>slurp_name</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_name"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:is_file"
><A NAME="v%3Ais_file"
></A
></A
><B
>is_file</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#is_file"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:is_dir"
><A NAME="v%3Ais_dir"
></A
></A
><B
>is_dir</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#is_dir"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:get_filecontents"
><A NAME="v%3Aget_filecontents"
></A
></A
><B
>get_filecontents</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3AFileContents"
>FileContents</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#get_filecontents"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:get_dircontents"
><A NAME="v%3Aget_dircontents"
></A
></A
><B
>get_dircontents</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#get_dircontents"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:get_mtime"
><A NAME="v%3Aget_mtime"
></A
></A
><B
>get_mtime</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AEpochTime"
>EpochTime</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#get_mtime"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:get_length"
><A NAME="v%3Aget_length"
></A
></A
><B
>get_length</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AFileOffset"
>FileOffset</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#get_length"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:get_slurp"
><A NAME="v%3Aget_slurp"
></A
></A
><B
>get_slurp</B
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#get_slurp"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_removefile"
><A NAME="v%3Aslurp_removefile"
></A
></A
><B
>slurp_removefile</B
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_removefile"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_removedir"
><A NAME="v%3Aslurp_removedir"
></A
></A
><B
>slurp_removedir</B
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_removedir"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_remove"
><A NAME="v%3Aslurp_remove"
></A
></A
><B
>slurp_remove</B
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_remove"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>A variant of <TT
>get_slurp_context</TT
> that allows for replacing the child slurpy by
 a list of slurpies. The result of the update function will always be a singleton
 list unless the child slurpy was at the top level.
 Currently unused.
 get_slurp_context_list :: FileName -&gt; Slurpy -&gt; Maybe ([Slurpy] -&gt; [Slurpy], Slurpy)
 get_slurp_context_list = get_slurp_context_generic return id
</P
><P
>It is important to be able to readily modify a slurpy.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_modfile"
><A NAME="v%3Aslurp_modfile"
></A
></A
><B
>slurp_modfile</B
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; (<A HREF="Darcs-SlurpDirectory-Internal.html#t%3AFileContents"
>FileContents</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3AFileContents"
>FileContents</A
>) -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_modfile"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Code to modify a given file in a slurpy.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_hasfile"
><A NAME="v%3Aslurp_hasfile"
></A
></A
><B
>slurp_hasfile</B
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_hasfile"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_hasdir"
><A NAME="v%3Aslurp_hasdir"
></A
></A
><B
>slurp_hasdir</B
> :: <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_hasdir"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_has_anycase"
><A NAME="v%3Aslurp_has_anycase"
></A
></A
><B
>slurp_has_anycase</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_has_anycase"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:undefined_time"
><A NAME="v%3Aundefined_time"
></A
></A
><B
>undefined_time</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AEpochTime"
>EpochTime</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#undefined_time"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:undefined_size"
><A NAME="v%3Aundefined_size"
></A
></A
><B
>undefined_size</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-Posix-Types.html#t%3AFileOffset"
>FileOffset</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#undefined_size"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:slurp_has"
><A NAME="v%3Aslurp_has"
></A
></A
><B
>slurp_has</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#slurp_has"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:list_slurpy"
><A NAME="v%3Alist_slurpy"
></A
></A
><B
>list_slurpy</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#list_slurpy"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:list_slurpy_files"
><A NAME="v%3Alist_slurpy_files"
></A
></A
><B
>list_slurpy_files</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#list_slurpy_files"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:get_path_list"
><A NAME="v%3Aget_path_list"
></A
></A
><B
>get_path_list</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#get_path_list"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:list_slurpy_dirs"
><A NAME="v%3Alist_slurpy_dirs"
></A
></A
><B
>list_slurpy_dirs</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#list_slurpy_dirs"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:isFileReallySymlink"
><A NAME="v%3AisFileReallySymlink"
></A
></A
><B
>isFileReallySymlink</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#isFileReallySymlink"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:doesFileReallyExist"
><A NAME="v%3AdoesFileReallyExist"
></A
></A
><B
>doesFileReallyExist</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#doesFileReallyExist"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:doesDirectoryReallyExist"
><A NAME="v%3AdoesDirectoryReallyExist"
></A
></A
><B
>doesDirectoryReallyExist</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#doesDirectoryReallyExist"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:SlurpMonad"
><A NAME="t%3ASlurpMonad"
></A
></A
><B
>SlurpMonad</B
> a </TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#SlurpMonad"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:SlurpMonad')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:SlurpMonad" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Control-Monad.html#t%3AMonad"
>Monad</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpMonad"
>SlurpMonad</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Control-Monad.html#t%3AFunctor"
>Functor</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpMonad"
>SlurpMonad</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Control-Monad.html#t%3AMonadPlus"
>MonadPlus</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpMonad"
>SlurpMonad</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-IO.html#t%3AWriteableDirectory"
>WriteableDirectory</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpMonad"
>SlurpMonad</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-IO.html#t%3AReadableDirectory"
>ReadableDirectory</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpMonad"
>SlurpMonad</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-Patch.html#t%3ARepoPatch"
>RepoPatch</A
> p =&gt; MatchMonad <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpMonad"
>SlurpMonad</A
> p</TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:withSlurpy"
><A NAME="v%3AwithSlurpy"
></A
></A
><B
>withSlurpy</B
> ::  <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpMonad"
>SlurpMonad</A
> a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Either.html#t%3AEither"
>Either</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> (<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>, a)</TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#withSlurpy"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:write_files"
><A NAME="v%3Awrite_files"
></A
></A
><B
>write_files</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#write_files"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:writeSlurpy"
><A NAME="v%3AwriteSlurpy"
></A
></A
><B
>writeSlurpy</B
> :: <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#writeSlurpy"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:syncSlurpy"
><A NAME="v%3AsyncSlurpy"
></A
></A
><B
>syncSlurpy</B
> :: (<A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
>) -&gt; <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
><TD CLASS="declbut"
><A HREF="src/Darcs-SlurpDirectory-Internal.html#syncSlurpy"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.6.1</TD
></TR
></TABLE
></BODY
></HTML
>