Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
545d688e
Commit
545d688e
authored
Apr 26, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed up documentation for loadEx.
Renamed getSerial to getTid.
parent
40667142
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
src/ZEO/ServerStub.py
src/ZEO/ServerStub.py
+8
-9
No files found.
src/ZEO/ServerStub.py
View file @
545d688e
...
...
@@ -177,13 +177,12 @@ class StorageServer:
return
self
.
rpc
.
call
(
'zeoLoad'
,
oid
)
##
# Return current data for oid in version, the tid of the transaction that
# wrote the most recent revision, and the name of the version for the
# data returned. Versions make this hard to understand; in particular,
# the version string returned may not equal the version string passed
# in, and that's "a feature" I don't understand. Similarly, the tid
# returned is the tid of the most recent revision of oid, and that may
# not equal the tid of the transaction that wrote the data returned.
# Return current data for oid in version, the tid of the
# transaction that wrote the most recent revision, and the name of
# the version for the data returned. Note that if the object
# wasn't modified in the version, then the non-version data is
# returned and the returned version is an empty string.
# @param oid object id
# @param version string, name of version
# @defreturn 3-tuple
...
...
@@ -275,8 +274,8 @@ class StorageServer:
def
loadBlob
(
self
,
oid
,
serial
,
version
,
offset
):
return
self
.
rpc
.
call
(
'loadBlob'
,
oid
,
serial
,
version
,
offset
)
def
get
Serial
(
self
,
oid
):
return
self
.
rpc
.
call
(
'get
Serial
'
,
oid
)
def
get
Tid
(
self
,
oid
):
return
self
.
rpc
.
call
(
'get
Tid
'
,
oid
)
def
loadSerial
(
self
,
oid
,
serial
):
return
self
.
rpc
.
call
(
'loadSerial'
,
oid
,
serial
)
...
...
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