You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	Allow containers to be defined in a document.
The defined containers are built before the document build begins which allows them to be reused.
This commit is contained in:
		| @@ -432,6 +432,32 @@ sub variableTest | ||||
|     return true; | ||||
| } | ||||
|  | ||||
| #################################################################################################################################### | ||||
| # Get list of source documents | ||||
| #################################################################################################################################### | ||||
| sub sourceList | ||||
| { | ||||
|     my $self = shift; | ||||
|  | ||||
|     # Assign function parameters, defaults, and log debug info | ||||
|     my ($strOperation) = logDebugParam(__PACKAGE__ . '->sourceList'); | ||||
|  | ||||
|     # Check that sources exist | ||||
|     my @strySource; | ||||
|  | ||||
|     if (defined(${$self->{oManifest}}{source})) | ||||
|     { | ||||
|         @strySource = sort(keys(%{${$self->{oManifest}}{source}})); | ||||
|     } | ||||
|  | ||||
|     # Return from function and log return values if any | ||||
|     return logDebugReturn | ||||
|     ( | ||||
|         $strOperation, | ||||
|         {name => 'strySource', value => \@strySource} | ||||
|     ); | ||||
| } | ||||
|  | ||||
| #################################################################################################################################### | ||||
| # sourceGet | ||||
| #################################################################################################################################### | ||||
|   | ||||
		Reference in New Issue
	
	Block a user