Comparing version 6.0.0 to 6.0.1-update-readme-eae6a7f5f9c07c761b9cea88a4ab40c737f16b93
@@ -7,2 +7,7 @@ # Change Log | ||
## 6.0.1 - 2019-04-04 | ||
* Add an overlapping discard test [Alexis Svinartchouk] | ||
* Fix readme: remove getBlockMap, add GetRanges [Alexis Svinartchouk] | ||
## 6.0.0 - 2019-04-04 | ||
@@ -9,0 +14,0 @@ |
{ | ||
"name": "file-disk", | ||
"version": "6.0.0", | ||
"version": "6.0.1-update-readme-eae6a7f5f9c07c761b9cea88a4ab40c737f16b93", | ||
"description": "Handles reads / writes on disk image files.", | ||
@@ -5,0 +5,0 @@ "author": "Petros Angelatos <petrosagg@balena.io>", |
@@ -46,8 +46,5 @@ # file-disk | ||
`FileDisk.getBlockMap(blockSize, calculateChecksums`: `Promise<blockmap.BlockMap>` | ||
`FileDisk.getRanges(blockSize)`: `Promise<Range[]>` | ||
- using the disk's discarded chunks and the given blockSize, it returns a Promise | ||
of a [`BlockMap`](https://github.com/balena-io-modules/blockmap). | ||
Be careful to how you use `Disk`'s `discardIsZero` option as it may change the | ||
blockmap ranges checksums if discarded regions not aligned with `blockSize` | ||
contain anything else than zeros on the disk. | ||
of an array of `Range`s: `{ offset: number, length: number }`. | ||
@@ -54,0 +51,0 @@ ### S3Disk |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62871
1
113