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