ExGuard v1.1.1 ExGuard.Config

Holds the ExGuard configurations during run time.

Summary

Functions

Returns agent based on guard title

Loads ExGuard config file

Given the path, returns matched guard configs

Puts guard into agent

Starts agent that keeps the configurations

Functions

get_guard(title)

Returns agent based on guard title

get_guards()
load(config_file)

Loads ExGuard config file

match_guards(path)

Given the path, returns matched guard configs.

In case that a {regex, func} is given to watch, this function also executes the func and returns list of files

put_guard(title, guard_struct)

Puts guard into agent

start_link()

Starts agent that keeps the configurations