/usr/share/doc/liboasis-ocaml-doc/oasis/OASISUnixPath.html is in liboasis-ocaml-doc 0.2.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="OASISUtils.html">
<link rel="next" href="OASISContext.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="FormatExt" rel="Chapter" href="FormatExt.html">
<link title="ODNFunc" rel="Chapter" href="ODNFunc.html">
<link title="PropList" rel="Chapter" href="PropList.html">
<link title="OASISUtils" rel="Chapter" href="OASISUtils.html">
<link title="OASISUnixPath" rel="Chapter" href="OASISUnixPath.html">
<link title="OASISContext" rel="Chapter" href="OASISContext.html">
<link title="OASISGettext" rel="Chapter" href="OASISGettext.html">
<link title="OASISMessage" rel="Chapter" href="OASISMessage.html">
<link title="OASISTypes" rel="Chapter" href="OASISTypes.html">
<link title="OASISParse" rel="Chapter" href="OASISParse.html">
<link title="OASISValues" rel="Chapter" href="OASISValues.html">
<link title="OASISExpr" rel="Chapter" href="OASISExpr.html">
<link title="OASISVersion" rel="Chapter" href="OASISVersion.html">
<link title="OASISLicense" rel="Chapter" href="OASISLicense.html">
<link title="OASISFileTemplate" rel="Chapter" href="OASISFileTemplate.html">
<link title="OASISBuildSection" rel="Chapter" href="OASISBuildSection.html">
<link title="OASISDocument" rel="Chapter" href="OASISDocument.html">
<link title="OASISExecutable" rel="Chapter" href="OASISExecutable.html">
<link title="OASISFlag" rel="Chapter" href="OASISFlag.html">
<link title="OASISLibrary" rel="Chapter" href="OASISLibrary.html">
<link title="OASISPackage" rel="Chapter" href="OASISPackage.html">
<link title="OASISSourceRepository" rel="Chapter" href="OASISSourceRepository.html">
<link title="OASISTest" rel="Chapter" href="OASISTest.html">
<link title="OASISPlugin" rel="Chapter" href="OASISPlugin.html">
<link title="OASISSchema" rel="Chapter" href="OASISSchema.html">
<link title="BaseArgExt" rel="Chapter" href="BaseArgExt.html">
<link title="BaseBuilt" rel="Chapter" href="BaseBuilt.html">
<link title="BaseCheck" rel="Chapter" href="BaseCheck.html">
<link title="BaseCustom" rel="Chapter" href="BaseCustom.html">
<link title="BaseData" rel="Chapter" href="BaseData.html">
<link title="BaseDev" rel="Chapter" href="BaseDev.html">
<link title="BaseDoc" rel="Chapter" href="BaseDoc.html">
<link title="BaseEnvLight" rel="Chapter" href="BaseEnvLight.html">
<link title="BaseEnv" rel="Chapter" href="BaseEnv.html">
<link title="BaseExec" rel="Chapter" href="BaseExec.html">
<link title="BaseFileAB" rel="Chapter" href="BaseFileAB.html">
<link title="BaseFilePath" rel="Chapter" href="BaseFilePath.html">
<link title="BaseFileUtil" rel="Chapter" href="BaseFileUtil.html">
<link title="BaseGenerate" rel="Chapter" href="BaseGenerate.html">
<link title="BaseLog" rel="Chapter" href="BaseLog.html">
<link title="BaseOCamlcConfig" rel="Chapter" href="BaseOCamlcConfig.html">
<link title="BaseSetup" rel="Chapter" href="BaseSetup.html">
<link title="BaseStandardVar" rel="Chapter" href="BaseStandardVar.html">
<link title="BaseTest" rel="Chapter" href="BaseTest.html">
<link title="BaseDynVar" rel="Chapter" href="BaseDynVar.html">
<link title="BaseMessage" rel="Chapter" href="BaseMessage.html">
<link title="BaseContext" rel="Chapter" href="BaseContext.html">
<link title="SubCommand" rel="Chapter" href="SubCommand.html"><title>OASISUnixPath</title>
</head>
<body>
<div class="navbar"><a href="OASISUtils.html">Previous</a>
<a href="index.html">Up</a>
<a href="OASISContext.html">Next</a>
</div>
<center><h1>Module <a href="type_OASISUnixPath.html">OASISUnixPath</a></h1></center>
<br>
<pre><span class="keyword">module</span> OASISUnixPath: <code class="code">sig</code> <a href="OASISUnixPath.html">..</a> <code class="code">end</code></pre>Unix path manipulation
<p>
The filename and dirname used in '_oasis' file and <a href="OASISTypes.html#TYPEpackage"><code class="code">OASISTypes.package</code></a> are
always encoded as Unix path. They are changed when using it on the target
system.<br>
<b>Author(s):</b> Sylvain Le Gall<br>
<hr width="100%">
<pre><span id="TYPEunix_filename"><span class="keyword">type</span> <code class="type"></code>unix_filename</span> = <code class="type">string</code> </pre>
<pre><span id="TYPEunix_dirname"><span class="keyword">type</span> <code class="type"></code>unix_dirname</span> = <code class="type"><a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a></code> </pre>
<pre><span id="TYPEhost_filename"><span class="keyword">type</span> <code class="type"></code>host_filename</span> = <code class="type">string</code> </pre>
<pre><span id="TYPEhost_dirname"><span class="keyword">type</span> <code class="type"></code>host_dirname</span> = <code class="type"><a href="OASISUnixPath.html#TYPEhost_filename">host_filename</a></code> </pre>
<pre><span id="VALcurrent_dir_name"><span class="keyword">val</span> current_dir_name</span> : <code class="type"><a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a></code></pre><div class="info">
'.' on Unix.<br>
</div>
<pre><span id="VALparent_dir_name"><span class="keyword">val</span> parent_dir_name</span> : <code class="type"><a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a></code></pre><div class="info">
'..' on Unix.<br>
</div>
<pre><span id="VALconcat"><span class="keyword">val</span> concat</span> : <code class="type"><a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a> -><br> <a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a> -> <a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a></code></pre><div class="info">
<code class="code">concat fn1 fn2</code> Concatenate fn1 and fn2, i.e. <code class="code">fn1^'/'^fn2</code>.<br>
</div>
<pre><span id="VALmake"><span class="keyword">val</span> make</span> : <code class="type"><a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a> list -> <a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a></code></pre><div class="info">
<code class="code">make lst</code> Concatenate all filename components of <code class="code">lst</code>.<br>
</div>
<pre><span id="VALdirname"><span class="keyword">val</span> dirname</span> : <code class="type"><a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a> -> <a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a></code></pre><div class="info">
<code class="code">dirname fn</code> Return directory name of <code class="code">fn</code> or <code class="code">current_dir_name</code> if no
directory name is defined.<br>
</div>
<pre><span id="VALbasename"><span class="keyword">val</span> basename</span> : <code class="type"><a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a> -> <a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a></code></pre><div class="info">
<code class="code">basename fn</code> Return filename without its directory name.<br>
</div>
<pre><span id="VALchop_extension"><span class="keyword">val</span> chop_extension</span> : <code class="type"><a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a> -> <a href="OASISUnixPath.html#TYPEunix_filename">unix_filename</a></code></pre><div class="info">
<code class="code">chop_extension fn</code> Remove the last part of the filename, after a '.',
return <code class="code">fn</code> if there is no extension.<br>
</div>
</body></html>
|