Current section

Files

Jump to
zotonic_filehandler include zotonic_filehandler.hrl
Raw

include/zotonic_filehandler.hrl

%% Called with zotonic_notifier:first. Maps a file to a category {Application, Name}
-record(zotonic_filehandler_categorize, {
filename :: binary()
}).
%% Called with zotonic_notifier:first. Maps a categorized file to a list of actions.
-record(zotonic_filehandler_map, {
verb :: zotonic_filewatcher:verb(),
application :: module(),
what :: term(),
extension :: binary(),
root :: binary(),
split :: list(binary()),
filename :: binary()
}).