mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
* Updated UnregisteredApps code * Added file type checking code and Folder and File classifications * Added more file formats * Removed run as admin for lnk folders * Added script files as executable and changed hashset to case insensitive * Removed runasadmin for generic files * Removed FileTypes enum * Extended ApplicationTypes enum * Fix file format error * Cleaned use of ApplicationType enum to public and match AppType and used ApplicationType in OnAppRenamed * Modify tests to use ApplicationType enum * Added tests for new App types * Modified dummy appref * Mock Directory.Exists and add tests for GetAppTypeFromPath * Combined tests
19 lines
471 B
C#
19 lines
471 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
namespace Wox.Infrastructure.FileSystemHelper
|
|
{
|
|
public class DirectoryWrapper : IDirectoryWrapper
|
|
{
|
|
public DirectoryWrapper()
|
|
{
|
|
}
|
|
|
|
public bool Exists(string path)
|
|
{
|
|
return System.IO.Directory.Exists(path);
|
|
}
|
|
}
|
|
}
|