watch_config_t Derived Type

type, public :: watch_config_t

Fully assembled watcher configuration.

This record is the primary input to watcher_t%init(). Watcher options.


Inherits

type~~watch_config_t~~InheritsGraph type~watch_config_t watch_config_t fpm_build_settings fpm_build_settings type~watch_config_t->fpm_build_settings settings type~watch_opts_t watch_opts_t type~watch_config_t->type~watch_opts_t w string_t string_t type~watch_opts_t->string_t ignore, include, enabled_features

Inherited by

type~~watch_config_t~~InheritedByGraph type~watch_config_t watch_config_t type~watcher_t watcher_t type~watcher_t->type~watch_config_t cfg

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: cmd_prefix

Cached remainder after the subcommand token (for injection).

character(len=:), public, allocatable :: cmd_rest
character(len=:), public, allocatable :: fpm_cmdline

Selected fpm subcommand (build, test, or run).

class(fpm_build_settings), public, allocatable :: settings

Cached prefix up to and including the subcommand token (for injection).

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

Typed fpm settings corresponding to subcmd.

type(watch_opts_t), public :: w

Full command line string to execute (e.g., fpm test -- ...).


Source Code

   type watch_config_t
      !! Watcher options.
      type(watch_opts_t) :: w
      !! Full command line string to execute (e.g., `fpm test -- ...`).
      character(len=:), allocatable :: fpm_cmdline
      !! Selected `fpm` subcommand (`build`, `test`, or `run`).
      character(len=:), allocatable :: subcmd
      !! Typed `fpm` settings corresponding to `subcmd`.
      class(fpm_build_settings), allocatable :: settings
      !! Cached prefix up to and including the subcommand token (for injection).
      character(len=:), allocatable :: cmd_prefix
      !! Cached remainder after the subcommand token (for injection).
      character(len=:), allocatable :: cmd_rest
   end type watch_config_t