Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
elixir__file_system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
robofish
electrofish
vendor
elixir__file_system
Commits
26bcf598
Commit
26bcf598
authored
7 years ago
by
Max Veytsman
Browse files
Options
Downloads
Patches
Plain Diff
Fixes typos in docs
parent
a06054e9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/file_system.ex
+3
-3
3 additions, 3 deletions
lib/file_system.ex
with
3 additions
and
3 deletions
lib/file_system.ex
+
3
−
3
View file @
26bcf598
...
...
@@ -24,11 +24,11 @@ defmodule FileSystem do
iex> {:ok, pid} = FileSystem.start_link(dirs: ["/tmp/fs"])
iex> FileSystem.subscribe(pid)
Get nstant notifications on file changes for Mac OS X:
Get
i
nstant notifications on file changes for Mac OS X:
iex> FileSystem.start_link(dirs: ["/path/to/some/files"], listener_extra_args: "--latency=0.0")
Named monit
i
r with speci
alty
backend:
Named monit
o
r with speci
fied
backend:
iex> FileSystem.start_link(backend: :fs_mac, dirs: ["/tmp/fs"], name: :worker)
iex> FileSystem.subscribe(:worker)
...
...
@@ -39,7 +39,7 @@ defmodule FileSystem do
end
@doc
"""
Reg
e
ster current process as a subscriber of file_system worker.
Reg
i
ster
the
current process as a subscriber of
a
file_system worker.
The pid you subscribed from will now receive messages like
{:file_event, worker_pid, {file_path, events}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment