Commit 847ab07e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 73789829
......@@ -60,6 +60,7 @@ from ZODB.utils import z64, u64, p64
from zodbtools.util import ashex as h, fromhex
from .internal import mm
from .internal._wcfs import PyWatchLink as WatchLink
from six import reraise
......@@ -391,7 +392,7 @@ def unmap(mmap):
f.mmaps.remove(mmap)
"""
# WatchLink represents /head/watch link opened on wcfs.
#
# .sendReq()/.recvReq() provides raw IO in terms of wcfs invalidation protocol messages.
......@@ -633,7 +634,7 @@ class SrvReq(object):
def blk(req): return req._parse()[1]
@property
def at(req): return req._parse()[2]
"""
......
......@@ -22,3 +22,6 @@
# distutils: language=c++
# XXX doc
cdef class PyWatchLink:
pass
......@@ -47,6 +47,10 @@ namespace os {
static error _pathError(const char *op, const string &path, int syserr);
int File::fd() const { return _fd; }
string File::name() const { return _path; }
tuple<File, error> open(const string &path, int flags, mode_t mode) {
File f;
f._path = path;
......
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