Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 543 Bytes

GetPreviousExistingDirectory.md

File metadata and controls

14 lines (9 loc) · 543 Bytes

FilesFolders.GetPreviousExistingDirectory method

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)

See Also