Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

file-disk

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-disk - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1-update-readme-eae6a7f5f9c07c761b9cea88a4ab40c737f16b93

5

CHANGELOG.md

@@ -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 @@

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc