zotonic_filewatcher_handler (zotonic_filewatcher v1.0.0-rc.14)
Link to this section Summary
Functions
Called when a file is changed on disk, buffers changes before sending a batch to the zotonic_filehandler.
Called by zotonic_filewatcher_handler
Link to this section Functions
Link to this function
code_change(Vsn, State, Extra)
Link to this function
file_changed(Verb, F)
-spec file_changed(zotonic_filehandler:verb(), file:filename_all()) -> ok.
Link to this function
handle_call(Msg, From, State)
Link to this function
handle_cast(Msg, State)
Link to this function
handle_info(Msg, State)
Link to this function
init(_)
-spec init(term()) -> {ok, #state{}}.
Link to this function
is_file_blocked(F)
-spec is_file_blocked(binary() | string()) -> boolean().
Link to this function
is_file_blocked(Dir, File)
Link to this function
re_exclude()
-spec re_exclude() -> string().
Link to this function
start_link()
-spec start_link() -> {ok, pid()} | {error, term()}.
Link to this function