UserInputResolutionOption

Index

Enumeration members

Enumeration members

AssumeLocalFile

• AssumeLocalFile: = 1

This option makes fromUserInput() always return a local path unless the input contains a scheme, such as http://file.pl. This is useful for applications such as text editors, which are able to create the file if it doesn't exist.


DefaultResolution

• DefaultResolution: = 0

The default resolution mechanism is to check whether a local file exists, in the working directory given to fromUserInput, and only return a local path in that case. Otherwise a URL is assumed.