Jai_Format module

format_find_config

procedure · 1 overloadsince 0.30.0Source

The settings for files in directory, from the nearest jacket.toml at or above it (up to stop), with read supplying file contents; see find_config in project.jai.

format_find_config :: (
    directory: string,
    read: Format_File_Reader,
    stop := ""
) -> (config: Format_Config, file: string, ok: bool, error: string)

The settings for files in directory, from the nearest jacket.toml at or above it (up to stop), with read supplying file contents; see find_config in project.jai.

Parameters

directory: string
stop := ""

Returns

file: string
ok: bool
error: string

See also