git_archive Subroutine

public subroutine git_archive(source, destination, ref, verbose, error)

Archive a folder using git archive.


Type IntentOptional Attributes Name
character(len=*), intent(in) :: source

Directory to archive.

character(len=*), intent(in) :: destination

Destination of the archive.

character(len=*), intent(in) :: ref

(Symbolic) Reference to be archived.

logical, intent(in) :: verbose

Print additional information if true.

type(error_t), intent(out), allocatable :: error

Error handling.



Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: archive_format
character(len=:), public, allocatable :: cmd_output
integer, public :: stat