Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

```js FSTree.calculateAndApplyPatch(newInputTree, inputDir, outputDir); ``` For the default operation, `FSTree.applyPatch` will apply the patch to the output directory with the following rules: - `unlink` – remove the specified file - `rmdir` – remove the specified folder - `mkdir` – create the specified folder - `create` – create the specified file - `change` – update the specified file to reflect changes You can also specify your own operation handlers via the `delegate` option. The delegate object can have any of the following keys: `unlink`, `rmdir`, `mkdir`, `create`, and `change`. Each key's value is a function that will be called when its respective operation is applied. For example: ```js const delegate = { create: (inputDir, outputDir, entry) => { // Custom create logic } }; FSTree.applyPatch(inputDir, outputDir, patch, delegate); ``` If you'd like to do something custom, you can also implement a `willApply` method on the delegate object. This will be called before any operations are applied, and is passed the same arguments as `

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stefanpenner/fs-tree-diff

Account's avatar
DefinitelyTyped/DefinitelyTyped
TypeScript definitions for symlink-or-copy
Account's avatar
heimdalljs/heimdalljs-logger
Structured logging via heimdalljs
Account's avatar
jden/node-path-posix
posix-specific core path module
Account's avatar
broccolijs/node-symlink-or-copy
Symlink files or directories, falling back to copying on Windows
Account's avatar
DefinitelyTyped/DefinitelyTyped
TypeScript definitions for chai
Account's avatar
DefinitelyTyped/DefinitelyTyped
TypeScript definitions for fs-extra
Account's avatar
DefinitelyTyped/DefinitelyTyped
TypeScript definitions for mocha
Account's avatar
DefinitelyTyped/DefinitelyTyped
TypeScript definitions for node
Account's avatar
chaijs/chai
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
jprichardson/node-fs-extra
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.
Account's avatar
mochajs/mocha
simple, flexible, fun test framework
Account's avatar
microsoft/TypeScript
TypeScript is a language for application scale JavaScript development
Account's avatar
joliss/node-walk-sync
Get an array of recursive directory contents

Support the repos that depend on this repository

Top contributors

stefanpenner's profile
stefanpenner
86 contributions
hjdivad's profile
hjdivad
48 contributions
chadhietala's profile
chadhietala
5 contributions
dfreeman's profile
dfreeman
3 contributions
thousand's profile
thousand
3 contributions
amiller-gh's profile
amiller-gh
2 contributions
chriseppstein's profile
chriseppstein
2 contributions
trentmwillis's profile
trentmwillis
2 contributions
zackthehuman's profile
zackthehuman
2 contributions
chancancode's profile
chancancode
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet
stefanpenner

stefanpenner/fs-tree-diff

TypeScript
25
20
No license