Copyright © 2009 Marc Worrell Date: 2009-04-10
Authors: Marc Worrell (marc@worrell.nl).
abspath/2 | Return the absolute path name of a relative file in the archive. |
archive_copy/2 | Always archive a copy of a file in the archive directory. |
archive_copy/3 | |
archive_copy/4 | |
archive_copy_opt/2 | Optionally archive a copy of a file in the archive directory (when it is not archived yet). |
archive_copy_opt/3 | |
archive_delete/2 | Delete a filename in the archive. |
archive_file/2 | Move a file to the archive directory (when it is not archived yet). |
archive_file/3 | Move a file to the archive directory (when it is not archived yet). |
archive_filename/2 | |
ensure_relative/2 | Ensure that the filename is relative to the archive. |
ensure_relative/3 | |
is_archived/2 | Check if the file is archived (ie. |
preview_filename/2 | |
rel_archive/2 | Remove the path to the archive directory, return a filename relative to the archive directory. |
safe_filename/1 |
abspath(File, Context) -> any()
Return the absolute path name of a relative file in the archive
archive_copy(Filename, Context) -> ArchivedFilename
Always archive a copy of a file in the archive directory
archive_copy(Filename, NewBasename, Context) -> any()
archive_copy(X1, Filename, NewBasename, Context) -> any()
archive_copy_opt(Filename, Context) -> ArchivedFilename
Optionally archive a copy of a file in the archive directory (when it is not archived yet)
archive_copy_opt(Filename, NewBasename, Context) -> any()
archive_delete(Filename, Context) -> any()
Delete a filename in the archive
archive_file(Filename, Context) -> ArchivedFilename
Move a file to the archive directory (when it is not archived yet)
archive_file(Filename, NewBasename, Context) -> ArchivedFilename
Move a file to the archive directory (when it is not archived yet)
archive_filename(Filename, Context) -> any()
ensure_relative(File, Context) -> any()
Ensure that the filename is relative to the archive. When needed move the file to the archive. Return the relative path.
ensure_relative(File, NewBasenameIfMoved, Context) -> any()
is_archived(Filename::file:filename_all(), Context::z:context()) -> boolean()
Check if the file is archived (ie. in the archive directory)
preview_filename(Filename, Context) -> any()
rel_archive(Filename, Context) -> any()
Remove the path to the archive directory, return a filename relative to the archive directory
safe_filename(B) -> any()
Generated by EDoc