Commit e1d34e59 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6e551af5
......@@ -39,13 +39,13 @@ A path from WCFS to Mapping is as follows:
Conn.open(foid) -> FileH
FileH.mmap([blk_start +blk_len)) -> Mapping
Please see wcfs/client/wcfs.h for more thorough overview and further details.
Classes in wcfs module logically mirror classes in ZODB:
Classes in wcfs.py logically mirror classes in ZODB:
wcfs.WCFS <-> ZODB.DB
wcfs.Conn <-> ZODB.Connection
Please see wcfs/client/wcfs.h for more thorough overview and further details.
Environment variables
---------------------
......@@ -80,6 +80,7 @@ from .client._wcfs import \
PyWatchLink as WatchLink, \
PyPinReq as PinReq \
# WCFS represents filesystem-level connection to wcfs server.
#
# Use join to create it.
......@@ -91,9 +92,6 @@ from .client._wcfs import \
# Raw files on wcfs can be accessed with ._path/._read/._stat/._open .
#
# WCFS logically mirrors ZODB.DB .
#
# XXX kill doc instead of C++.
# XXX +close in the end
class WCFS(_WCFS):
# .mountpoint path to wcfs mountpoint
# ._fwcfs /.wcfs/zurl opened to keep the server from going away (at least cleanly)
......@@ -103,7 +101,6 @@ class WCFS(_WCFS):
pass
# ---- WCFS raw file access (primarily for tests) ----
# _path returns path for object on wcfs.
......@@ -142,7 +139,6 @@ def _open(wc, obj, mode='rb', at=None):
return open(path, mode, 0) # unbuffered
# ---- join/run wcfs ----
_wcmu = sync.Mutex()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment