Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates > by-pkgid > b0c98c29aff20adb5ac5f9eed34fc595 > files > 101

ghc-darcs-doc-2.4.4-1.fc13.i686.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.Repository.HashedIO</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-Repository-HashedIO.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="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.Repository.HashedIO</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></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"
>type</SPAN
> <A HREF="#t%3AHashedIO"
>HashedIO</A
> r p = <A HREF="/usr/share/doc/ghc/html/libraries/mtl-1.1.0.2/Control-Monad-State-Lazy.html#t%3AStateT"
>StateT</A
> (HashDir r p) <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AapplyHashed"
>applyHashed</A
> :: <A HREF="Darcs-Patch-Patchy.html#t%3APatchy"
>Patchy</A
> q =&gt; <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; [<A HREF="Darcs-Flags.html#t%3ADarcsFlag"
>DarcsFlag</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; q -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcopyHashed"
>copyHashed</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Flags.html#t%3ACompression"
>Compression</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/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%3AcopyPartialsHashed"
>copyPartialsHashed</A
> :: <A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> fp =&gt; <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Flags.html#t%3ACompression"
>Compression</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; [fp] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/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%3AlistHashedContents"
>listHashedContents</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
>]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AslurpHashedPristine"
>slurpHashedPristine</A
> :: <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Flags.html#t%3ACompression"
>Compression</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/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%3AwriteHashedPristine"
>writeHashedPristine</A
> :: <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Flags.html#t%3ACompression"
>Compression</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.0/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aclean_hashdir"
>clean_hashdir</A
> :: <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Repository-Cache.html#t%3AHashedDir"
>HashedDir</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/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
></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="decl"
><SPAN CLASS="keyword"
>type</SPAN
> <A NAME="t:HashedIO"
><A NAME="t%3AHashedIO"
></A
></A
><B
>HashedIO</B
> r p = <A HREF="/usr/share/doc/ghc/html/libraries/mtl-1.1.0.2/Control-Monad-State-Lazy.html#t%3AStateT"
>StateT</A
> (HashDir r p) <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:applyHashed"
><A NAME="v%3AapplyHashed"
></A
></A
><B
>applyHashed</B
> :: <A HREF="Darcs-Patch-Patchy.html#t%3APatchy"
>Patchy</A
> q =&gt; <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; [<A HREF="Darcs-Flags.html#t%3ADarcsFlag"
>DarcsFlag</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; q -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:copyHashed"
><A NAME="v%3AcopyHashed"
></A
></A
><B
>copyHashed</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Flags.html#t%3ACompression"
>Compression</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/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="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:copyPartialsHashed"
><A NAME="v%3AcopyPartialsHashed"
></A
></A
><B
>copyPartialsHashed</B
> :: <A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> fp =&gt; <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Flags.html#t%3ACompression"
>Compression</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; [fp] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/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="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:listHashedContents"
><A NAME="v%3AlistHashedContents"
></A
></A
><B
>listHashedContents</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
>]</TD
></TR
><TR
><TD CLASS="doc"
>Seems to list all hashes reachable from <A HREF="root.html"
>root</A
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:slurpHashedPristine"
><A NAME="v%3AslurpHashedPristine"
></A
></A
><B
>slurpHashedPristine</B
> :: <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Flags.html#t%3ACompression"
>Compression</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-SlurpDirectory-Internal.html#t%3ASlurpy"
>Slurpy</A
></TD
></TR
><TR
><TD CLASS="doc"
>Create a Slurpy representing the pristine content determined by the
 supplied root hash (which uniquely determines the pristine tree)
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:writeHashedPristine"
><A NAME="v%3AwriteHashedPristine"
></A
></A
><B
>writeHashedPristine</B
> :: <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Flags.html#t%3ACompression"
>Compression</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.0/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
></TD
></TR
><TR
><TD CLASS="doc"
>Write contents of a Slurpy into hashed pristine. Only files that have not
 not yet been hashed (that is, the hash corresponding to their content is
 already present in hashed pristine) will be written out, so it is efficient
 to use this function to update existing pristine cache. Note that the
 pristine root hash will *not* be updated. You need to do that manually.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:clean_hashdir"
><A NAME="v%3Aclean_hashdir"
></A
></A
><B
>clean_hashdir</B
> :: <A HREF="Darcs-Repository-Cache.html#t%3ACache"
>Cache</A
> -&gt; <A HREF="Darcs-Repository-Cache.html#t%3AHashedDir"
>HashedDir</A
> -&gt; [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/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="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.6.0</TD
></TR
></TABLE
></BODY
></HTML
>