parquet_get_file_date Subroutine

public subroutine parquet_get_file_date(text)

Reports the pinned file date, or "" when the clock is being read (the factory default).

A subroutine with an allocatable intent(out) rather than a function returning character(len=:), allocatable, which this project forbids outright -- gfortran's codegen for receiving such a result is not reliably thread-local (see CLAUDE.md). Same shape as parquet_get_verbosity and parquet_get_message_stream.

Arguments

Type IntentOptional Attributes Name
character(len=:), intent(out), allocatable :: text

the pinned date, or "" for the clock.


Source Code

    subroutine parquet_get_file_date(text)
        character(len=:), allocatable, intent(out) :: text !! the pinned date, or "" for the clock.

        text = trim(cfg_file_date)
    end subroutine parquet_get_file_date