1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/modules
Stéphane Mourey 2943c41884
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>
2023-04-24 10:36:37 -06:00
..
caddyevents events: Make event data exported 2022-09-19 16:20:58 -06:00
caddyhttp templates: Add fileStat function (#5497) 2023-04-24 10:36:37 -06:00
caddypki context: Rename func to AppIfConfigured (#5397) 2023-02-27 18:58:27 +00:00
caddytls caddytls: Eval replacer on automation policy subjects (#5459) 2023-03-27 21:16:22 +00:00
filestorage httpcaddyfile: Minor fixes to parsing storage options 2020-05-01 09:34:32 -06:00
logging reverseproxy: Mask the WS close message when we're the client (#5199) 2022-11-14 09:38:02 -07:00
metrics core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
standard events: Implement event system (#4912) 2022-08-31 15:01:30 -06:00