Get a system path for a path in a filesystem.
A system path (or 'syspath') is a path that maps to the file on the OS filesystem. Not all filesystems can generate syspaths. If Moya is unable to generate a syspath it will throw a get-syspath.no-syspath
exception.
<fs:get-syspath fs="templates" path="index.html" dst="index_template_path"/>
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
fs |
Filesystem name | text | No | ||
fsobj |
Filesystem object | text | No | ||
path |
Destination path | text | Yes |
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
dst |
Destination | reference | No | ||
if |
Conditional expression | expression | No | yes |
|
value |
Value | expression | No | None |