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

fix typos in README.markdown #16

Closed
wants to merge 1 commit into from
Closed
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
10 changes: 5 additions & 5 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Watchman provides 4 generators:
* **path**: generates a list of files based on their path and depth
* **all**: generates a list of all known files

Generators are analagous to the list of *paths* that you specify when using the
Generators are analogous to the list of *paths* that you specify when using the
`find(1)` utility, but are implemented in watchman with a bit of a twist
because watchman doesn't need to crawl the filesystem in realtime and instead
maintains a couple of indexes over the tree.
Expand Down Expand Up @@ -325,7 +325,7 @@ Possible types are:

##### empty

Evaluates as true if the file exists, has size is 0 and is a regular file or
Evaluates as true if the file exists, has size 0 and is a regular file or
directory.

"empty"
Expand Down Expand Up @@ -474,7 +474,7 @@ is restarted.

Returns the current clock value for a watched root.

Be careful how you interpret this value; it return the instantaneous value of
Be careful how you interpret this value; it returns the instantaneous value of
the clock, and may have changed by the time you intend to act upon it.

```bash
Expand Down Expand Up @@ -692,7 +692,7 @@ By default a `query` will wait for up to 2 seconds for the view of the
filesystem to become current. Watchman decides that the view is current by
creating a cookie file and waiting to observe the notification that it is
present. If the cookie is not observed within the sync_timeout period then the
query invocation will error out with a sychronization error message.
query invocation will error out with a synchronization error message.

If your synchronization requirements differ from the default, you may pass in
your desired timeout when you construct your query; it must be an integer value
Expand Down Expand Up @@ -928,7 +928,7 @@ ways to measure time.
* **recommended for advanced users**: a clock id of the form `c:123:234`

The first and most obvious is passing a unix timestamp. Watchman records
the observed time that files change and allows you to find file that have
the observed time that files change and allows you to find files that have
changed since that time. Using a timestamp is prone to race conditions
in understanding the complete state of the file tree.

Expand Down