-
Home
-
API Reference
-
CliInvoke
-
FilePathResolver
-
Methods
-
ResolveFilePath(String)
ResolveFilePath(String) Method
Definition
Resolves a file path by checking if the file path exists or if it's a directory.
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("tvos")]
public FileInfo ResolveFilePath(string filePathToResolve)
Parameters
- filePathToResolve
- String
The file path to resolve.
Returns
- FileInfo
- The resolved file path if successful, otherwise throws a FileNotFoundException.