Dump dependency to toml table
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(git_target_t), | intent(inout) | :: | self |
Instance of the serializable object |
||
type(toml_table), | intent(inout) | :: | table |
Data structure |
||
type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | ierr |
subroutine dump_to_toml(self, table, error) !> Instance of the serializable object class(git_target_t), intent(inout) :: self !> Data structure type(toml_table), intent(inout) :: table !> Error handling type(error_t), allocatable, intent(out) :: error integer :: ierr call set_string(table, "descriptor", descriptor_name(self%descriptor), error, 'git_target_t') if (allocated(error)) return call set_string(table, "url", self%url, error, 'git_target_t') if (allocated(error)) return call set_string(table, "object", self%object, error, 'git_target_t') if (allocated(error)) return end subroutine dump_to_toml