Load files
Summary
Functions
Get just changed files or all based on config
Check for changes to configured files
Returns a specification to start this module under a supervisor.
Get format from extension
Determine if files have changed since last run
Find files matching pattern.
Collect multiple files for the same name
Set config defaults
Get latest file or all based on config
List files in dir matching configured file extensions.
Create table if new/update
Whether files have been modified/created since last run
Notify subscribers about updates
Sort files by modification time and set overall latest time
Types
Functions
Get just changed files or all based on config
Check for changes to configured files
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec delete_tables([:ets.tab()]) :: :ok
Get format from extension
Determine if files have changed since last run
Find files matching pattern.
Collect multiple files for the same name
@spec init_config(Keyword.t()) :: {:ok, [file_config()]}
Set config defaults
Get latest file or all based on config
List files in dir matching configured file extensions.
@spec make_table_state(module(), name(), map(), :ets.tab()) :: table_state()
Create table if new/update
@spec maybe_create_table(:calendar.datetime(), map()) :: :ets.tab()
Whether files have been modified/created since last run
@spec notify_update([map()]) :: :ok
Notify subscribers about updates
Sort files by modification time and set overall latest time
@spec update_table_index([table_state()]) :: [:ets.tab()]