Commit Graph

12 Commits

Author SHA1 Message Date
Benjamin Pasero c6be0b5480 remote - adopt readFileStream capability 2019-11-04 12:04:19 +01:00
Benjamin Pasero 6f823003a7 files - speed up reads and writes
For reading, introduce the readFileStream capability that reduces
the overhead of low level file reading by switching to an event based
model.

For writing, try to consume up to N chunks of data from the underlying
source and directly call writeFile if the source is consumed. This will avoid
the overhead of low level file reading for small to medium files.
2019-11-04 11:57:45 +01:00
Benjamin Pasero 444567f281 files - skip exists() check if not needed 2019-10-30 18:03:45 +01:00
Benjamin Pasero 935b0f1c0d debt - optional chaining 2019-10-21 15:44:21 +02:00
Benjamin Pasero b2157cbe2e Revert "Revert "debt - adopt new fs.readdir with stat info""
This reverts commit 956208bb05.
2019-10-14 15:32:35 +02:00
Matt Bierner c25e7e90f0 Making IFileChange readonly 2019-09-25 18:30:03 -07:00
Benjamin Pasero 1cba911717 Strict init (#80190)
* strict init

* more strict props
2019-09-02 09:24:43 +02:00
Benjamin Pasero 956208bb05 Revert "debt - adopt new fs.readdir with stat info"
This reverts commit da5fb7d5b8.
2019-08-12 08:23:31 +02:00
Benjamin Pasero 18a4ddc05a files - avoid read/write with pos and prefer null (fix #73884) 2019-08-07 08:00:17 +02:00
Matt Bierner 7411e3f341 Convert many simple getters for events into readonly properties
We seem to use the readonly property way of exposing these values more widely. Standardizing this a bit across the codebase
2019-07-15 16:12:25 -07:00
Sandeep Somavarapu 79186fa045 Merge branch 'master' into sandy081/moveFileService 2019-07-11 11:54:23 +02:00
Sandeep Somavarapu 0df6764710 move file service to platform 2019-07-10 20:55:44 +02:00