USourceControlHelpers::AnnotateFile

Helper function to annotate a file using a label

Unreal Engine C++ API Reference > Developer > SourceControl > USourceControlHelpers > AnnotateFile

References

   
Module SourceControl
Header /Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h
Include #include "SourceControlHelpers.h"
Source /Engine/Source/Developer/SourceControl/Private/SourceControlHelpers.cpp
static bool AnnotateFile
(
    [ISourceControlProvider](API\Developer\SourceControl\ISourceControlProvider) & InProvider,
    const [FString](API\Runtime\Core\Containers\FString) & InLabel,
    const [FString](API\Runtime\Core\Containers\FString) & InFile,
    [TArray](API\Runtime\Core\Containers\TArray)< [FAnnotationLine](API\Developer\SourceControl\FAnnotationLine) > & OutLines
)

Remarks

Helper function to annotate a file using a label true if successful

Parameters

Name Description
InProvider The provider to use
InLabel The label to use to retrieve the file
InFile The file to annotate
OutLines Output array of annotated lines

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library