Gets the previous level directory from a path string. Checks that previous level directory exists and returns it as a path string, or empty string if doesn't exist
public static string GetPreviousExistingDirectory(Func<string, bool> locationExists, string path)
- class FilesFolders
- namespace Flow.Launcher.Plugin.SharedCommands