FUpdateStatus::IsDirectoryPath

Returns if the given path should be considered a directory or not.

Unreal Engine C++ API Reference > Developer > SourceControl > FUpdateStatus

References

   
Module SourceControl
Header /Engine/Source/Developer/SourceControl/Public/SourceControlOperations.h
Include #include "SourceControlOperations.h"
Source /Engine/Source/Developer/SourceControl/Private/SourceControlOperations.cpp
bool IsDirectoryPath
(
    const [FString](API\Runtime\Core\Containers\FString) & Path
) const

Remarks

Returns if the given path should be considered a directory or not. If bSetRequireDirPathEndWithSeparator is not set (the default) then we will poll the file system. However in some cases this can be very slow, in which case bSetRequireDirPathEndWithSeparator can be set to true and we require that any directory path must be terminated by a path separator (/ or ) so that we can tell by simply looking at the path itself. This is opt in behavior to avoid breaking existing 3rd party code that relies on the default behavior.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library