Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
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
Show 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