Sophie

Sophie

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

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.RepoPath</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-RepoPath.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.RepoPath</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><B
>Contents</B
></TD
></TR
><TR
><TD
><DL
><DT
><A HREF="#1"
>AbsolutePath
</A
></DT
><DT
><A HREF="#2"
>AbsolutePathOrStd
</A
></DT
><DT
><A HREF="#3"
>AbsoluteOrRemotePath
</A
></DT
><DT
><A HREF="#4"
>SubPath
</A
></DT
><DT
><A HREF="#5"
>Miscellaneous
</A
></DT
></DL
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>Various abstractions for dealing with paths.
</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%3AAbsolutePath"
>AbsolutePath</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AmakeAbsolute"
>makeAbsolute</A
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AioAbsolute"
>ioAbsolute</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath"
>FilePath</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-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3ArootDirectory"
>rootDirectory</A
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AmakeAbsoluteOrStd"
>makeAbsoluteOrStd</A
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</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="Darcs-RepoPath.html#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AioAbsoluteOrStd"
>ioAbsoluteOrStd</A
> :: <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-RepoPath.html#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AuseAbsoluteOrStd"
>useAbsoluteOrStd</A
> ::  (<A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> a) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> a -&gt; <A HREF="Darcs-RepoPath.html#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> a</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AioAbsoluteOrRemote"
>ioAbsoluteOrRemote</A
> :: <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-RepoPath.html#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AisRemote"
>isRemote</A
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/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%3ASubPath"
>SubPath</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AmakeSubPathOf"
>makeSubPathOf</A
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
> -&gt; <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AsimpleSubPath"
>simpleSubPath</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Asp2fn"
>sp2fn</A
> :: <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
> -&gt; <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
>  <A HREF="#t%3AFilePathOrURL"
>FilePathOrURL</A
> a  <SPAN CLASS="keyword"
>where</SPAN
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3AtoPath"
>toPath</A
> :: a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> a =&gt; <A HREF="#t%3AFilePathLike"
>FilePathLike</A
> a  <SPAN CLASS="keyword"
>where</SPAN
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3AtoFilePath"
>toFilePath</A
> :: a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath"
>FilePath</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AgetCurrentDirectory"
>getCurrentDirectory</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AsetCurrentDirectory"
>setCurrentDirectory</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.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="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="1"
><A NAME="1"
>AbsolutePath
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:AbsolutePath"
><A NAME="t%3AAbsolutePath"
></A
></A
><B
>AbsolutePath</B
>  </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:AbsolutePath')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:AbsolutePath" 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.0/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:makeAbsolute"
><A NAME="v%3AmakeAbsolute"
></A
></A
><B
>makeAbsolute</B
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Take an absolute path and a string representing a (possibly relative)
 path and combine them into an absolute path. If the second argument is
 already absolute, then the first argument gets ignored. This function also
 takes care that the result is converted to Posix convention and
 normalized. Also, parent directories (&quot;..&quot;) at the front of the string
 argument get canceled out against trailing directory parts of the
 absolute path argument.
</P
><P
>Regarding the last point, someone more familiar with how these functions
 are used should verify that this is indeed necessary or at least useful.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:ioAbsolute"
><A NAME="v%3AioAbsolute"
></A
></A
><B
>ioAbsolute</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath"
>FilePath</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-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="doc"
>Interpret a possibly relative path wrt the current working directory.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:rootDirectory"
><A NAME="v%3ArootDirectory"
></A
></A
><B
>rootDirectory</B
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="doc"
>The root directory as an absolute path.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="2"
><A NAME="2"
>AbsolutePathOrStd
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:AbsolutePathOrStd"
><A NAME="t%3AAbsolutePathOrStd"
></A
></A
><B
>AbsolutePathOrStd</B
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>This is for situations where a string (e.g. a command line argument)
 may take the value &quot;-&quot; to mean stdin or stdout (which one depends on
 context) instead of a normal file path.
</TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:AbsolutePathOrStd')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:AbsolutePathOrStd" 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.0/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:makeAbsoluteOrStd"
><A NAME="v%3AmakeAbsoluteOrStd"
></A
></A
><B
>makeAbsoluteOrStd</B
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</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="Darcs-RepoPath.html#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:ioAbsoluteOrStd"
><A NAME="v%3AioAbsoluteOrStd"
></A
></A
><B
>ioAbsoluteOrStd</B
> :: <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-RepoPath.html#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:useAbsoluteOrStd"
><A NAME="v%3AuseAbsoluteOrStd"
></A
></A
><B
>useAbsoluteOrStd</B
> ::  (<A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> a) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> a -&gt; <A HREF="Darcs-RepoPath.html#t%3AAbsolutePathOrStd"
>AbsolutePathOrStd</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> a</TD
></TR
><TR
><TD CLASS="doc"
>Execute either the first or the second argument action, depending on
 whether the given path is an <TT
><A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TT
> or stdin/stdout.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="3"
><A NAME="3"
>AbsoluteOrRemotePath
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:AbsoluteOrRemotePath"
><A NAME="t%3AAbsoluteOrRemotePath"
></A
></A
><B
>AbsoluteOrRemotePath</B
>  </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:AbsoluteOrRemotePath')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:AbsoluteOrRemotePath" 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.0/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:ioAbsoluteOrRemote"
><A NAME="v%3AioAbsoluteOrRemote"
></A
></A
><B
>ioAbsoluteOrRemote</B
> :: <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-RepoPath.html#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:isRemote"
><A NAME="v%3AisRemote"
></A
></A
><B
>isRemote</B
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="4"
><A NAME="4"
>SubPath
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:SubPath"
><A NAME="t%3ASubPath"
></A
></A
><B
>SubPath</B
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>Paths which are relative to the local darcs repository and normalized.
 Note: These are understood not to have the dot in front.
</TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:SubPath')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:SubPath" 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.0/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:makeSubPathOf"
><A NAME="v%3AmakeSubPathOf"
></A
></A
><B
>makeSubPathOf</B
> :: <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
> -&gt; <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="doc"
>Make the second path relative to the first, if possible
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:simpleSubPath"
><A NAME="v%3AsimpleSubPath"
></A
></A
><B
>simpleSubPath</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="5"
><A NAME="5"
>Miscellaneous
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:sp2fn"
><A NAME="v%3Asp2fn"
></A
></A
><B
>sp2fn</B
> :: <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
> -&gt; <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
>  <A NAME="t:FilePathOrURL"
><A NAME="t%3AFilePathOrURL"
></A
></A
><B
>FilePathOrURL</B
> a  <SPAN CLASS="keyword"
>where</SPAN
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
>Methods</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A NAME="v:toPath"
><A NAME="v%3AtoPath"
></A
></A
><B
>toPath</B
> :: a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString"
>String</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:FilePathOrURL')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FilePathOrURL" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsoluteOrRemotePath"
>AbsoluteOrRemotePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="decl"
>CharLike c =&gt; <A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> [c]</TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="Darcs-RepoPath.html#t%3AFilePathOrURL"
>FilePathOrURL</A
> a =&gt; <A NAME="t:FilePathLike"
><A NAME="t%3AFilePathLike"
></A
></A
><B
>FilePathLike</B
> a  <SPAN CLASS="keyword"
>where</SPAN
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
>Methods</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A NAME="v:toFilePath"
><A NAME="v%3AtoFilePath"
></A
></A
><B
>toFilePath</B
> :: a -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath"
>FilePath</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:FilePathLike')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FilePathLike" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> <A HREF="Darcs-Patch-FileName.html#t%3AFileName"
>FileName</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> <A HREF="Darcs-RepoPath.html#t%3ASubPath"
>SubPath</A
></TD
></TR
><TR
><TD CLASS="decl"
>CharLike c =&gt; <A HREF="Darcs-RepoPath.html#t%3AFilePathLike"
>FilePathLike</A
> [c]</TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:getCurrentDirectory"
><A NAME="v%3AgetCurrentDirectory"
></A
></A
><B
>getCurrentDirectory</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Darcs-RepoPath.html#t%3AAbsolutePath"
>AbsolutePath</A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:setCurrentDirectory"
><A NAME="v%3AsetCurrentDirectory"
></A
></A
><B
>setCurrentDirectory</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.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
>