Creates any missing parent directories of path
.
Equations
- Lake.createParentDirs path = match path.parent with | some dir => IO.FS.createDirAll dir | x => pure PUnit.unit
Instances For
Copy a file from src
to dst
.
Equations
- Lake.copyFile src dst = do let contents ← IO.FS.readBinFile src IO.FS.writeBinFile dst contents
Instances For
Returns the normalized real path of a file if it exists. Otherwise, returns ""
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
Returns the normalized real path of a file if and only if it exists.