Apply configuration overrides from fpm.toml [extra.fpm-watch].
Missing keys are ignored; successfully read values override existing defaults.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(watch_opts_t), | intent(inout) | :: | w |
subroutine apply_watch_from_manifest(w) type(watch_opts_t), intent(inout) :: w type(toml_table), allocatable :: root type(toml_table), pointer :: wt logical :: ok call load_watch_table(root, wt, ok) if (.not. ok) return call toml_get_real(wt, "poll", w%poll) call toml_get_real(wt, "debounce", w%debounce) call toml_get_real(wt, "rescan", w%rescan) call toml_get_logical(wt, "debug", w%debug) call toml_get_logical(wt, "print-files", w%print_files_once) call toml_get_logical(wt, "silent-fpm", w%silent_fpm) call toml_get_logical(wt, "run-on-start", w%run_on_start) call toml_get_logical(wt, "deps", w%watch_deps) call toml_get_logical(wt, "low-cpu", w%low_cpu) call toml_get_logical(wt, "once", w%once) call toml_get_int(wt, "verbosity", w%verbosity) call toml_get_list_strings(wt, "ignore", w%ignore) call toml_get_list_strings(wt, "include", w%include) call toml_get_list_strings(wt, "features", w%enabled_features) call normalize_watch_opts(w) end subroutine apply_watch_from_manifest