Expand description
Discovery and loading of atypical.toml. Each tool owns its section
schema; a top-level extends layers other files beneath, see
resolve.
Schema-free but not key-free: within a named array, name, drop
and before are directives consumed before any schema sees them.
Enums§
- Error
- Resolve
Error - All resolution errors
Constants§
Functions§
- find
- The nearest
FILE_NAMEinstartor any of its ancestors. - load
- Read the file at
path,resolveitsextendschain, and deserialize the[key]section of the merged document. - resolve
- Parse the file at
pathinto a table, resolving its top-levelextendskey (a string or an array of strings). Extended documents are applied one by one in declaration order, the extending document last: tables merge key-by-key, arrays whose every entry carries anamemerge by that name, any other value replaces the one beneath it. - section
- Deserialize the
[key]section of a TOML document as written: noextends, no directives. A document without the section isOk(None).