Module z_path

Defines all paths for files and directories of a site.

Copyright © 2009 Marc Worrell Date: 2009-08-05

Authors: Marc Worrell (marc@worrell.nl).

Description

Defines all paths for files and directories of a site.

Function Index

files_subdir/2Return the path to a files subdirectory.
files_subdir_ensure/2Return the path to a files subdirectory and ensure that the directory is present.
media_archive/1Return the path to the media archive directory.
media_preview/1Return the path to the media preview directory.
site_dir/1Return the path to the site folder of the given context.

Function Details

files_subdir/2

files_subdir(SubDir::filename(), Context::#context{}) -> filename()

Return the path to a files subdirectory

files_subdir_ensure/2

files_subdir_ensure(SubDir::filename(), Context::#context{}) -> filename()

Return the path to a files subdirectory and ensure that the directory is present

media_archive/1

media_archive(Context::#context{}) -> filename()

Return the path to the media archive directory

media_preview/1

media_preview(Context::#context{}) -> filename()

Return the path to the media preview directory

site_dir/1

site_dir(Context::#context{}) -> filename()

Return the path to the site folder of the given context.


Generated by EDoc, Feb 25 2011, 21:14:41.