mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-12 19:25:00 +00:00
Removing specific config paths from PathUtils
This commit is contained in:
@@ -4,7 +4,6 @@ using System.Linq;
|
||||
using ICD.Common.Properties;
|
||||
using ICD.Common.Services;
|
||||
using ICD.Common.Services.Logging;
|
||||
using ICD.Common.Utils.Extensions;
|
||||
using ICD.Common.Utils.IO;
|
||||
|
||||
namespace ICD.Common.Utils
|
||||
@@ -195,28 +194,6 @@ namespace ICD.Common.Utils
|
||||
return Join(ProgramConfigPath, local);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Searches the application path, program config path and common config path to
|
||||
/// find the first IR driver that exists with the given local path.
|
||||
/// </summary>
|
||||
/// <param name="localPath"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetIrDriversPath(params string[] localPath)
|
||||
{
|
||||
return GetDefaultConfigPath(localPath.Prepend("IRDrivers").ToArray());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Searches the application path, program config path and common config path to
|
||||
/// find the first SSL Driver that exists with the given local path.
|
||||
/// </summary>
|
||||
/// <param name="localPath"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetSslCertificatesPath(params string[] localPath)
|
||||
{
|
||||
return GetDefaultConfigPath(localPath.Prepend("SSLCertificates").ToArray());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the given path exists.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user