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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
43ebcfea
Commit
43ebcfea
authored
Dec 03, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
7104ff07
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
wcfs/__init__.py
wcfs/__init__.py
+3
-3
wcfs/internal/_wcfs.pyx
wcfs/internal/_wcfs.pyx
+5
-2
No files found.
wcfs/__init__.py
View file @
43ebcfea
...
...
@@ -67,7 +67,7 @@ from .internal._wcfs import \
from
six
import
reraise
"""
# WCFS represents filesystem-level connection to wcfs server.
#
# Use join to create it.
...
...
@@ -395,7 +395,7 @@ def unmap(mmap):
f = mmap.file
f.mmaps.remove(mmap)
"""
...
...
@@ -457,7 +457,7 @@ def _open(wc, obj, mode='rb', at=None):
fd = os.open(path, os.O_RDONLY)
return FileH(fd)
"""
# FileH is handle to opened bigfile/X.
#
# XXX it mimics BigFileH and should be integrated into virtmem (see fileh_open_overlay)
...
...
wcfs/internal/_wcfs.pyx
View file @
43ebcfea
...
...
@@ -21,7 +21,11 @@
# cython: language_level=2
# distutils: language=c++
# XXX doc
# Package _wcfs.pyx provides Python-wrappers around WatchLink and WCFS pinner
# that are used in wcfs_test.py to verify WCFS base-layer mmap functionality.
#
# At functional level WCFS pinner is verified when running wendelin.core array
# tests in wcfs mode.
from
golang
cimport
chan
,
structZ
,
string
,
error
,
refptr
,
pychan
from
golang
cimport
context
...
...
@@ -33,7 +37,6 @@ from libcpp.vector cimport vector
cdef
extern
from
*
:
ctypedef
bint
cbool
"bool"
from
libc.stdio
cimport
printf
# XXX temp
from
libc.stdint
cimport
int64_t
,
uint64_t
from
ZODB.utils
import
p64
...
...
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