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
e1d34e59
Commit
e1d34e59
authored
Apr 20, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
6e551af5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
wcfs/__init__.py
wcfs/__init__.py
+7
-11
No files found.
wcfs/__init__.py
View file @
e1d34e59
...
...
@@ -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
()
...
...
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