blob: 2de61d01f1a01934741e6b2d6cf5b597d6d35649 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
Dancer2::Plugin::Path::Class exports the keyword 'ls'
returning a Path::Class object.
The 'ls' keyword also sets some 'vars'.
- ls_name: The basename of the path
- ls_cdup: The parent of the request path
- ls_dirs: A list of subdirectories if the path is a directory object
- ls_files: A list of files or just one file if the path is a file object
|