Paul Frazee

Results 176 issues of Paul Frazee

The `writeFile()` method needs to accept an `opts` param, which I believe is the exact same as the `createWriteStream()` method. AFAICT this will require updating the wire proto because the...

I found that if a `createWriteStream()` call was creating an error, the error wasn't getting pushed into the writestream. (I'm not 100% sure where the error was occurring, possibly in...

When I log the .value.stat of an entry emitted by `createDiffStream()` I get this: ```js { wrappers_: { '11': [Object] }, messageId_: undefined, arrayIndexOffset_: -1, array: [ 33188, 0, 0,...

AFAICT there's no way to fetch the current version of an archive without creating a new drive-client session. Could we add that to `drive.stats()` maybe?

Sometimes during setup I get: ``` Error: Failed to connect before the deadline at checkState (/Users/paulfrazee/work/beaker-core/node_modules/@grpc/grpc-js/build/src/client.js:49:26) at Timeout._onTimeout (/Users/paulfrazee/work/beaker-core/node_modules/@grpc/grpc-js/build/src/channel.js:294:17) at listOnTimeout (internal/timers.js:535:17) at processTimers (internal/timers.js:479:7) disconnected: true } ```

In my ctzn tests, I had remote hyperbees throw the following error during a hypercore `.close()`: ``` /Users/paulfrazee/work/ctzn/node_modules/@hyperspace/rpc/index.js:11 const err = new Error(message) ^ Error: Invalid resource: 12628 at Object.decode...

Atomic method to rename a file or directory (thus moving children)

Currently if you have a "mount cycle" (2 drives that mount each other) the `readdir()` call with `{recursive: true}` will enter an endless loop. Even without a cycle, mount-graphs have...

I need to be able to control whether and how long the timeout for read calls works. At a glance that'll need to cover: - access - stat - lstat...

It'd be really nice to have events for when files are modified and then downloaded. I'm doing [like this](https://github.com/beakerbrowser/pauls-dat-api/blob/c606c83d733950b7d2f1f50d8e4ead05213464fc/lib/act-stream.js#L100-L176) right now and that relies on a lot of .has() calls,...