dotnet-installer/test/Microsoft.DotNet.Tools.Tests.Utilities/TempFileSystem/PathKind.cs
2017-03-02 20:35:20 -08:00

43 lines
957 B
C#

// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DotNet.Tools.Test.Utilities
{
internal enum PathKind
{
/// <summary>
/// Null or empty.
/// </summary>
Empty,
/// <summary>
/// "file"
/// </summary>
Relative,
/// <summary>
/// ".\file"
/// </summary>
RelativeToCurrentDirectory,
/// <summary>
/// "..\file"
/// </summary>
RelativeToCurrentParent,
/// <summary>
/// "\dir\file"
/// </summary>
RelativeToCurrentRoot,
/// <summary>
/// "C:dir\file"
/// </summary>
RelativeToDriveDirectory,
/// <summary>
/// "C:\file" or "\\machine" (UNC).
/// </summary>
Absolute,
}
}