Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
847ab07e
Commit
847ab07e
authored
Nov 01, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
73789829
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
wcfs/__init__.py
wcfs/__init__.py
+3
-2
wcfs/internal/_wcfs.pyx
wcfs/internal/_wcfs.pyx
+3
-0
wcfs/internal/wcfs_misc.cpp
wcfs/internal/wcfs_misc.cpp
+4
-0
No files found.
wcfs/__init__.py
View file @
847ab07e
...
...
@@ -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]
"""
...
...
wcfs/internal/_wcfs.pyx
View file @
847ab07e
...
...
@@ -22,3 +22,6 @@
# distutils: language=c++
# XXX doc
cdef
class
PyWatchLink
:
pass
wcfs/internal/wcfs_misc.cpp
View file @
847ab07e
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment