diff options
author | Stéphane Mourey <github.com@stephanemourey.fr> | 2023-04-24 18:36:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 10:36:37 -0600 |
commit | 2943c41884278ec5fc44bcb55d2b9b088838cdc2 (patch) | |
tree | d71f062890fa9f3766fc3a79210ef742c845538b /caddyconfig/caddyfile/testdata/glob | |
parent | 53b6fab125f3f2f149d59fcfe13b1e8b1735da56 (diff) |
templates: Add `fileStat` function (#5497)
* Add isDir template function
* Update modules/caddyhttp/templates/tplcontext.go
Co-authored-by: Mohammed Al Sahaf <msaa1990@gmail.com>
* Fix funcIsDir return value on error
* Fix funcIsDir return false when root file system not specified
* Add stat function, remove isDir function
* Remove isDir function (really)
* Rename stat to fileStat
---------
Co-authored-by: Mohammed Al Sahaf <msaa1990@gmail.com>
Diffstat (limited to 'caddyconfig/caddyfile/testdata/glob')
0 files changed, 0 insertions, 0 deletions