Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
Levin Zimmermann
neoppod
Commits
a00f0010
Commit
a00f0010
authored
Jan 31, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2e4a4546
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
go/zodb/persistent.go
go/zodb/persistent.go
+4
-1
No files found.
go/zodb/persistent.go
View file @
a00f0010
...
...
@@ -100,6 +100,9 @@ type loadState struct {
// Ghostable is the interface describing in-RAM object who can release its in-RAM state.
type
Ghostable
interface
{
// DropState should discard in-RAM object state.
//
// It is called by persistency machinery only on non-ghost objects,
// i.e. when the objects has its in-RAM state.
DropState
()
}
...
...
@@ -111,7 +114,7 @@ type Stateful interface {
// It is called by persistency machinery only on non-ghost objects,
// i.e. when the object has its in-RAM state.
//
//
XXX buf ownership?
//
GetState should return a new buffer reference.
GetState
()
*
mem
.
Buf
// SetState should set state of the in-RAM object from raw data.
...
...
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