Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > db7a4a658d190b3e658423135710c498 > files > 721

ghc-darcs-devel-2.8.3-1.fc18.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Darcs.URL</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Darcs-URL.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Darcs-URL.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">darcs-2.8.3: a distributed, interactive, smart revision control system</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Darcs.URL</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Path resolving:
</p><ul><li> An http URL contains the sequence <code>&quot;http(s)://&quot;</code>.
</li><li> A local filepath does not contain colons, except
      as second character (windows drives) when this
      filepath is meant to be used as repository name
</li><li> A path that is neither an http URL nor a local file
      is an ssh-path.
</li></ul><p>Examples:
</p><pre> /usr/repo/foo                 -- local file
 c:/src/darcs                  -- local file
 http://darcs.net/             -- URL
 peter@host:/path              -- ssh
 droundy@host:                 -- ssh
 host:/path                    -- ssh
</pre><p>This means that single-letter hosts in ssh-paths do not work,
  unless a username is provided.
</p><p>Perhaps ssh-paths should use <code>&quot;ssh://user@host/path&quot;</code>-syntax instead?
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:isFile">isFile</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isHttpUrl">isHttpUrl</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isSshUrl">isSshUrl</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isRelative">isRelative</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isAbsolute">isAbsolute</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isSshNopath">isSshNopath</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:SshFilePath">SshFilePath</a> </li><li class="src short"><a href="#v:sshRepo">sshRepo</a> :: <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:sshUhost">sshUhost</a> :: <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:sshFile">sshFile</a> :: <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:urlOf">urlOf</a> :: <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:splitSshUrl">splitSshUrl</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:isFile" class="def">isFile</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Darcs-URL.html#isFile" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isHttpUrl" class="def">isHttpUrl</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Darcs-URL.html#isHttpUrl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isSshUrl" class="def">isSshUrl</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Darcs-URL.html#isSshUrl" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isRelative" class="def">isRelative</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Darcs-URL.html#isRelative" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isAbsolute" class="def">isAbsolute</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Darcs-URL.html#isAbsolute" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:isSshNopath" class="def">isSshNopath</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Darcs-URL.html#isSshNopath" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:SshFilePath" class="def">SshFilePath</a>  <a href="src/Darcs-URL.html#SshFilePath" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:sshRepo" class="def">sshRepo</a> :: <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Darcs-URL.html#sshRepo" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:sshUhost" class="def">sshUhost</a> :: <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Darcs-URL.html#sshUhost" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:sshFile" class="def">sshFile</a> :: <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Darcs-URL.html#sshFile" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:urlOf" class="def">urlOf</a> :: <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Darcs-URL.html#urlOf" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:splitSshUrl" class="def">splitSshUrl</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -&gt; <a href="Darcs-URL.html#t:SshFilePath">SshFilePath</a><a href="src/Darcs-URL.html#splitSshUrl" class="link">Source</a></p><div class="doc"><p>Gives the (user, host, dir) out of an ssh url
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>