[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/VFS - IReadFileSystem.py:1.1.2.6

Shane Hathaway shane@cvs.zope.org
Fri, 12 Apr 2002 14:56:55 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Server/VFS
In directory cvs.zope.org:/tmp/cvs-serv31781

Modified Files:
      Tag: Zope3-Server-Branch
	IReadFileSystem.py 
Log Message:
Updated docstrings: IReadFileSystem should always expect POSIX paths, which
it can translate to platform-dependent paths if needed.


=== Zope3/lib/python/Zope/Server/VFS/IReadFileSystem.py 1.1.2.5 => 1.1.2.6 ===
        return a producer.
 
+       All paths are POSIX paths, even when run on Windows,
+       which mainly means that FS implementations always expect forward
+       slashes, and filenames are case-sensitive.
+
        Note: A file system should *not* store any state!
     """
 
@@ -44,8 +48,8 @@
         """Return a listing of the directory at 'path' The empty
            string indicates the current directory.  If 'with_stats' is set,
            instead return a list of (name, stat_info) tuples. All file
-           names are filtered by the pattern, which is epected to be a regular
-           filesystem search pattern.
+           names are filtered by the globbing pattern.  (See the 'glob'
+           module in the Python standard library.)
         """
         return list(tuple(str, str))