zotonic_fileindexer_cache (zotonic_fileindexer v1.0.0-rc.11)

Find (and cache) files in directories.

Link to this section Summary

Link to this section Functions

Link to this function

code_change(Version, State, Extra)

Link to this function

find(App, SubDir, OptPattern)

-spec find(atom(), file:filename_all(), binary() | list() | undefined) ->
        {ok, [zotonic_fileindexer:fileindex()]} | {error, term()}.
Find all files underneath a app/dir. Optional with a certain extension.
-spec flush() -> ok.
Link to this function

flush(App, SubDir)

-spec flush(atom(), file:filename_all()) -> ok.
Link to this function

handle_call(Cmd, From, State)

Link to this function

handle_cast(Cmd, State)

Link to this function

handle_info(Cmd, State)

Link to this function

terminate(Reason, State)