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
adea8cd9
Commit
adea8cd9
authored
Oct 18, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5dc9c791
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
setup.py
setup.py
+1
-1
wcfs/__init__.py
wcfs/__init__.py
+13
-4
No files found.
setup.py
View file @
adea8cd9
...
...
@@ -254,7 +254,7 @@ setup(
# specify either to use e.g. ZODB3.10 or ZODB4 )
'ZODB3 >= 3.10'
,
'pygolang >= 0.0.5'
,
# defer, sync.WaitGroup, ...
'pygolang >= 0.0.5'
,
# defer, sync.WaitGroup,
pyx/nogil channels
...
'six'
,
# compat py2/py3
...
...
wcfs/__init__.py
View file @
adea8cd9
...
...
@@ -18,17 +18,27 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
"""Module wcfs.py provides python gateway for spawning and interoperating with wcfs server
"""Module wcfs.py provides python gateway for spawning and interoperating with wcfs server
.
Join(zurl) joins wcfs server. If wcfs server for zurl is not yet running, it
will be automatically started if `autostart=True` is passed to join.
It will also be automatically started by default unless
$WENDELIN_CORE_WCFS_AUTOSTART=no is specified in environment.
WCFS represents filesystem-level connection to wcfs server. XXX created by join.
Conn represents logical connection that provides view of data on wcfs
filesystem as of particular database state.
WCFS represents connection to wcfs server obtained by join.
FileH ... XXX
XXX
Classes in wcfs module logically mirror classes in ZODB:
wcfs.WCFS <-> ZODB.DB
wcfs.Conn <-> ZODB.Connection
$WENDELIN_CORE_WCFS_AUTOSTART
$WENDELIN_CORE_WCFS_OPTIONS
"""
...
...
@@ -74,8 +84,8 @@ class WCFS(object):
# ._proc wcfs process if it was opened by this WCFS | None
pass
# Conn represents logical connection
viewing data on wcfs filesystem as of
# particular database state.
# Conn represents logical connection
that provides view of data on wcfs
#
filesystem as of
particular database state.
#
# It uses /head/bigfile/* and notifications received from /head/watch to
# maintain isolated database view while at the same time sharing most of data
...
...
@@ -96,7 +106,6 @@ class Conn(object):
#
# ._pinWG
# ._pinCancel
pass
# _File represent isolated file view under Conn.
...
...
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