Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetLinkTargetFullPath()

static string System.IO.PathInternal.GetLinkTargetFullPath ( string path,
string pathToTarget )
inlinestaticpackage

Definition at line 245 of file PathInternal.cs.

246 {
247 if (!IsPartiallyQualified(pathToTarget.AsSpan()))
248 {
249 return pathToTarget;
250 }
251 return Path.Join(Path.GetDirectoryName(path.AsSpan()), pathToTarget.AsSpan());
252 }
static bool IsPartiallyQualified(ReadOnlySpan< char > path)

References System.IO.Path.GetDirectoryName(), System.IO.PathInternal.IsPartiallyQualified(), and System.IO.Path.Join().

Referenced by System.IO.FileSystem.CreateSymbolicLink().