Skip to content

ElectronWebUtils.getPathForFile method

ElectronWebUtils › getPathForFile

Unofficial

Returns the file system path the given file points to.

Signature:

getPathForFile(file: File): string

Parameters:

ParameterTypeDescription
fileFileThe file to resolve.

Returns: stringThe absolute path of the file.