@lynx-js/lynxtron / Archive
Archive
Constructors
new Archive()
Create an archive handle from a .asar path.
Parameters
Returns
Defined in
Methods
copyFileOut()
Copy the file out into a temporary file and returns the new path.
Parameters
Returns
string | false
Defined in
getFdAndValidateIntegrityLater()
Return the file descriptor.
Returns
number
Defined in
getFileInfo()
Reads the offset and size of file.
Parameters
Returns
false | AsarFileInfo
Defined in
readdir()
Returns all files under a directory.
Parameters
Returns
false | string[]
Defined in
realpath()
Returns the path of file with symbol link resolved.
Parameters
Returns
string | false
Defined in
stat()
Returns a fake result of fs.stat(path).
Parameters
Returns
false | AsarFileStat
Defined in