Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorFileUtils > API/Editor/UnrealEd/FEditorFileUtils/CheckoutPackages
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
| Include | #include "FileHelpers.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
static ECommandResult::Type CheckoutPackages
(
const TArray < FString > & PkgsToCheckOut,
TArray < FString > * OutPackagesCheckedOut,
const bool bErrorIfAlreadyCheckedOut
)
Remarks
Check out the specified packages from source control and report any errors while checking out the result of the check out operation
Parameters
| Name | Description |
|---|---|
| PkgsToCheckOut | Reference to array of package names to check out |
| OutPackagesCheckedOut | If not NULL, this array will be populated with packages that were checked out. |
| bErrorIfAlreadyCheckedOut | true to consider being unable to checkout a package because it is already checked out an error, false to allow this without error |