Skip to content

Commit

Permalink
Pear.updates align
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmarkclements committed Feb 23, 2024
1 parent 384cfc5 commit 7b3ee09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,9 @@ The `listener` function is called for every incoming update with an `update` obj

* `version` is a Pear version object holding incoming version information
* `app` indicates whether the update represents an application (`true`) or platform (`false`) update
* `diff` is an array of file paths from the application root (drive keys) that were updated
* `diff` requires `--update-diffs` flag (else `null`). An array of objects of form `{ type, key}`.
* `type` `<String>` - Operation type `update` or `delete`
* `key` `<String>` - Drive key for a given updated file e.g. `/path/to/file.txt`


### `const win = new Pear.Window(entry <String>, options <Object>)`
Expand Down

0 comments on commit 7b3ee09

Please sign in to comment.