Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (49 sloc) 3.863 kB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Module z_path</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>
<h1>Module z_path</h1>
<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Defines all paths for files and directories of a site.
<p>Copyright © 2009 Marc Worrell
Date: 2009-08-05</p>
<p><b>Authors:</b> Marc Worrell (<a href="mailto:marc@worrell.nl"><tt>marc@worrell.nl</tt></a>).</p>
<h2><a name="description">Description</a></h2>Defines all paths for files and directories of a site.
<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#files_subdir-2">files_subdir/2</a></td><td>Return the path to a files subdirectory.</td></tr>
<tr><td valign="top"><a href="#files_subdir_ensure-2">files_subdir_ensure/2</a></td><td>Return the path to a files subdirectory and ensure that the directory is present.</td></tr>
<tr><td valign="top"><a href="#media_archive-1">media_archive/1</a></td><td>Return the path to the media archive directory.</td></tr>
<tr><td valign="top"><a href="#media_preview-1">media_preview/1</a></td><td>Return the path to the media preview directory.</td></tr>
<tr><td valign="top"><a href="#site_dir-1">site_dir/1</a></td><td>Return the path to the site folder of the given context.</td></tr>
</table>
<h2><a name="functions">Function Details</a></h2>
<h3 class="function"><a name="files_subdir-2">files_subdir/2</a></h3>
<div class="spec">
<p><tt>files_subdir(SubDir::<a href="#type-filename">filename()</a>, Context::#context{}) -&gt; <a href="#type-filename">filename()</a></tt><br></p>
</div><p>Return the path to a files subdirectory</p>
<h3 class="function"><a name="files_subdir_ensure-2">files_subdir_ensure/2</a></h3>
<div class="spec">
<p><tt>files_subdir_ensure(SubDir::<a href="#type-filename">filename()</a>, Context::#context{}) -&gt; <a href="#type-filename">filename()</a></tt><br></p>
</div><p>Return the path to a files subdirectory and ensure that the directory is present</p>
<h3 class="function"><a name="media_archive-1">media_archive/1</a></h3>
<div class="spec">
<p><tt>media_archive(Context::#context{}) -&gt; <a href="#type-filename">filename()</a></tt><br></p>
</div><p>Return the path to the media archive directory</p>
<h3 class="function"><a name="media_preview-1">media_preview/1</a></h3>
<div class="spec">
<p><tt>media_preview(Context::#context{}) -&gt; <a href="#type-filename">filename()</a></tt><br></p>
</div><p>Return the path to the media preview directory</p>
<h3 class="function"><a name="site_dir-1">site_dir/1</a></h3>
<div class="spec">
<p><tt>site_dir(Context::#context{}) -&gt; <a href="#type-filename">filename()</a></tt><br></p>
</div><p>Return the path to the site folder of the given context.</p>
<hr>
<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc, Apr 11 2012, 20:41:27.</i></p>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.