Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the description of getdir() to no longer be recursive. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ Watches `path` (a glob pattern) for changes, from `rev` in history on. Its

`getdir(rev, path, off=0, lim=MaxInt64, ents=[], &blk)`

Behaves like `getdir` but collects `ents`, starting at `off` until all or `lim`
entries are read. When done, `blk` is called with the result (an `Array`) as the
first parameter or a `Fraggle::Connection::Response` as the second. Depending
on the response, one or the other will be set and the other with be `nil`.
Collects `ents`, starting at `off` until all or `lim`entries are read. When
done, `blk` is called with the result (an `Array`) as thefirst parameter or
a `Fraggle::Connection::Response` as the second. Depending on the response,
one or the other will be set and the other with be `nil`.

`walk(rev, path, off=0, lim=MaxInt64, ents=[], &blk)`

Expand Down