Module locus_filesystem_load

Behaviours: gen_server.

Data Types

event()

event() = event_load_attempt_started() | event_load_attempt_dismissed()

event_load_attempt_dismissed()

event_load_attempt_dismissed() = {load_attempt_dismissed, source()}

event_load_attempt_started()

event_load_attempt_started() = {load_attempt_started, source()}

msg()

msg() = {event, event()} | {finished, {success, success()}} | {finished, dismissed} | {finished, {error, not_found}} | {finished, {error, term()}}

path()

path() = nonempty_string()

source()

source() = {cache | filesystem, path()}

success()

success() = #{modified_on := calendar:datetime(), content := binary()}


Generated by EDoc