Function libuci_sys::uci_add_delta_path[][src]

pub unsafe extern "C" fn uci_add_delta_path(
    ctx: *mut uci_context,
    dir: *const c_char
) -> c_int
Expand description

uci_add_delta_path: add a directory to the search path for change delta files @ctx: uci context @dir: directory name

This function allows you to add directories, which contain ‘overlays’ for the active config, that will never be committed.

Adding a duplicate directory will cause UCI_ERR_DUPLICATE be returned.