asar: Add support in fs.realpathSync
This commit is contained in:
parent
d77bf0440c
commit
885ac53a48
4 changed files with 48 additions and 4 deletions
|
@ -51,6 +51,9 @@ class Archive {
|
|||
// Fs.readdir(path).
|
||||
bool Readdir(const base::FilePath& path, std::vector<base::FilePath>* files);
|
||||
|
||||
// Fs.realpath(path).
|
||||
bool Realpath(const base::FilePath& path, base::FilePath* realpath);
|
||||
|
||||
// Copy the file into a temporary file, and return the new path.
|
||||
bool CopyFileOut(const base::FilePath& path, base::FilePath* out);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue