Skip to content

Commit 0958c4f

Browse files
authored
Merge pull request #255 from jwilk/spelling
Fix typos
2 parents 0f5bc2b + f0a167d commit 0958c4f

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

CHANGES.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* OSFSWatchMixin improvements:
5454
* watch_inotify: allow more than one watcher on a single path.
5555
* watch_win32: don't create immortal reference cycles.
56-
* watch_win32: report errors if the filesystem does't support
56+
* watch_win32: report errors if the filesystem doesn't support
5757
ReadDirectoryChangesW.
5858
* MountFS: added support for mounting at the root directory, and for
5959
mounting over an existing mount.
@@ -76,7 +76,7 @@
7676
* Added a concept of a writeable FS to MultiFS
7777
* Added ilistdir() and ilistdirinfo() methods, which are generator-based
7878
variants of listdir() and listdirinfo().
79-
* Removed obsolete module fs.objectree; use fs.path.PathMap instead.
79+
* Removed obsolete module fs.objecttree; use fs.path.PathMap instead.
8080
* Added setcontents_async method to base
8181
* Added `appdirfs` module to abstract per-user application directories
8282

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Here are a few of the filesystems that can be accessed with Pyfilesystem:
1616
* **MountFS** creates a virtual directory structure built from other filesystems
1717
* **MultiFS** a virtual filesystem that combines a list of filesystems into one, and checks them in order when opening files
1818
* **OSFS** the native filesystem
19-
* **SFTPFS** access files & directores stored on a Secure FTP server
19+
* **SFTPFS** access files & directories stored on a Secure FTP server
2020
* **S3FS** access files & directories stored on Amazon S3 storage
2121
* **TahoeLAFS** access files & directories stored on a Tahoe distributed filesystem
2222
* **ZipFS** access files and directories contained in a zip file

docs/commands.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Lists the contents of a directory, similar to the ``ls`` command, e.g.::
4242
fstree
4343
------
4444

45-
Displays an ASCII tree of a directory. e.g::
45+
Displays an ASCII tree of a directory. e.g.::
4646

4747
fstree
4848
fstree -g
@@ -52,7 +52,7 @@ Displays an ASCII tree of a directory. e.g::
5252
fscat
5353
-----
5454

55-
Writes a file to stdout, e.g::
55+
Writes a file to stdout, e.g.::
5656

5757
fscat ~/.bashrc
5858
fscat http://www.willmcgugan.com
@@ -61,23 +61,23 @@ Writes a file to stdout, e.g::
6161
fsinfo
6262
------
6363

64-
Displays information regarding a file / directory, e.g::
64+
Displays information regarding a file / directory, e.g.::
6565

6666
fsinfo C:\autoexec.bat
6767
fsinfo ftp://ftp.mozilla.org/pub/README
6868

6969
fsmv
7070
----
7171

72-
Moves a file from one location to another, e.g::
72+
Moves a file from one location to another, e.g.::
7373

7474
fsmv foo bar
7575
fsmv *.jpg zip://photos.zip
7676

7777
fsmkdir
7878
-------
7979

80-
Makes a directory on a filesystem, e.g::
80+
Makes a directory on a filesystem, e.g.::
8181

8282
fsmkdir foo
8383
fsmkdir ftp://ftp.mozilla.org/foo
@@ -86,23 +86,23 @@ Makes a directory on a filesystem, e.g::
8686
fscp
8787
----
8888

89-
Copies a file from one location to another, e.g::
89+
Copies a file from one location to another, e.g.::
9090

9191
fscp foo bar
9292
fscp ftp://ftp.mozilla.org/pub/README readme.txt
9393

9494
fsrm
9595
----
9696

97-
Removes (deletes) a file from a filesystem, e.g::
97+
Removes (deletes) a file from a filesystem, e.g.::
9898

9999
fsrm foo
100100
fsrm -r mydir
101101

102102
fsserve
103103
-------
104104

105-
Serves the contents of a filesystem over a network with one of a number of methods; HTTP, RPC or SFTP, e.g::
105+
Serves the contents of a filesystem over a network with one of a number of methods; HTTP, RPC or SFTP, e.g.::
106106

107107
fsserve
108108
fsserve --type rpc
@@ -111,8 +111,8 @@ Serves the contents of a filesystem over a network with one of a number of metho
111111
fsmount
112112
-------
113113

114-
Mounts a filesystem with FUSE (on Linux) and Dokan (on Windows), e.g::
114+
Mounts a filesystem with FUSE (on Linux) and Dokan (on Windows), e.g.::
115115

116116
fsmount mem:// ram
117117
fsserve mem:// M
118-
fsserve ftp://ftp.mozilla.org/pub ftpgateway
118+
fsserve ftp://ftp.mozilla.org/pub ftpgateway

docs/concepts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ PyFilesystem will catch any attempts to read outside of the root directory. For
4545
Paths
4646
-----
4747

48-
Paths used within an FS object use the same common format, regardless of the underlaying file system it represents (or the platform it resides on).
48+
Paths used within an FS object use the same common format, regardless of the underlying file system it represents (or the platform it resides on).
4949

5050
When working with paths in FS objects, keep in mind the following:
5151

docs/implementersguide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Thread Safety
6262
All PyFilesystem methods, other than the constructor, should be thread-safe where-ever possible.
6363
One way to do this is to pass ``threads_synchronize=True`` to the base constructor and use the :func:`~fs.base.synchronize` decorator to lock the FS object when a method is called.
6464

65-
If the implementation can not be made thread-safe for technical reasons, ensure that ``getmeta("thread_safe")`` returns ``False``.
65+
If the implementation cannot be made thread-safe for technical reasons, ensure that ``getmeta("thread_safe")`` returns ``False``.
6666

6767

6868
Meta Values

0 commit comments

Comments
 (0)