config_t Derived Type

type, public :: config_t

The settings of one configuration file.


Inherits

type~~config_t~~InheritsGraph type~config_t config_t type~setting_t setting_t type~config_t->type~setting_t settings type~string_t string_t type~config_t->type~string_t extensions, exclude

Inherited by

type~~config_t~~InheritedByGraph type~config_t config_t type~config_cache_t config_cache_t type~config_cache_t->type~config_t configs

Components

Type Visibility Attributes Name Initial
type(string_t), public, allocatable :: exclude(:)

files.exclude, likewise

type(string_t), public, allocatable :: extensions(:)

files.extensions; not allocated if the file does not set it

character(len=:), public, allocatable :: path

the file, or '' if there is none

type(setting_t), public, allocatable :: settings(:)

the formatting settings, in the order they are applied


Source Code

type, public :: config_t
    !! The settings of one configuration file.
    character(len=:), allocatable :: path               !! the file, or `''` if there is none
    type(setting_t), allocatable :: settings(:)         !! the formatting settings, in the order they are applied
    type(string_t), allocatable :: extensions(:)      !! `files.extensions`; not allocated if the file does not set it
    type(string_t), allocatable :: exclude(:)           !! `files.exclude`, likewise
end type config_t