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
ab540d6e
Commit
ab540d6e
authored
Jan 15, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b3628b5f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
go/neo/neonet/connection.go
go/neo/neonet/connection.go
+5
-3
go/zodb/storage/fs1/format.go
go/zodb/storage/fs1/format.go
+3
-4
go/zodb/zodb.go
go/zodb/zodb.go
+3
-4
No files found.
go/neo/neonet/connection.go
View file @
ab540d6e
// Copyright (C) 2016-20
18
Nexedi SA and Contributors.
// Copyright (C) 2016-20
20
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
// Kirill Smelkov <kirr@nexedi.com>
//
//
// This program is free software: you can Use, Study, Modify and Redistribute
// This program is free software: you can Use, Study, Modify and Redistribute
...
@@ -1284,7 +1284,9 @@ func (e *ConnError) Error() string {
...
@@ -1284,7 +1284,9 @@ func (e *ConnError) Error() string {
}
}
func
(
e
*
LinkError
)
Cause
()
error
{
return
e
.
Err
}
func
(
e
*
LinkError
)
Cause
()
error
{
return
e
.
Err
}
func
(
e
*
LinkError
)
Unwrap
()
error
{
return
e
.
Err
}
func
(
e
*
ConnError
)
Cause
()
error
{
return
e
.
Err
}
func
(
e
*
ConnError
)
Cause
()
error
{
return
e
.
Err
}
func
(
e
*
ConnError
)
Unwrap
()
error
{
return
e
.
Err
}
func
(
nl
*
NodeLink
)
err
(
op
string
,
e
error
)
error
{
func
(
nl
*
NodeLink
)
err
(
op
string
,
e
error
)
error
{
if
e
==
nil
{
if
e
==
nil
{
...
...
go/zodb/storage/fs1/format.go
View file @
ab540d6e
// Copyright (C) 2017-20
19
Nexedi SA and Contributors.
// Copyright (C) 2017-20
20
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
// Kirill Smelkov <kirr@nexedi.com>
//
//
// This program is free software: you can Use, Study, Modify and Redistribute
// This program is free software: you can Use, Study, Modify and Redistribute
...
@@ -97,9 +97,8 @@ type RecordError struct {
...
@@ -97,9 +97,8 @@ type RecordError struct {
Err
error
// actual error
Err
error
// actual error
}
}
func
(
e
*
RecordError
)
Cause
()
error
{
func
(
e
*
RecordError
)
Cause
()
error
{
return
e
.
Err
}
return
e
.
Err
func
(
e
*
RecordError
)
Unwrap
()
error
{
return
e
.
Err
}
}
func
(
e
*
RecordError
)
Error
()
string
{
func
(
e
*
RecordError
)
Error
()
string
{
// XXX omit path: when .Err already contains it (e.g. when it is os.PathError)?
// XXX omit path: when .Err already contains it (e.g. when it is os.PathError)?
...
...
go/zodb/zodb.go
View file @
ab540d6e
// Copyright (C) 2016-20
19
Nexedi SA and Contributors.
// Copyright (C) 2016-20
20
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
// Kirill Smelkov <kirr@nexedi.com>
//
//
// This program is free software: you can Use, Study, Modify and Redistribute
// This program is free software: you can Use, Study, Modify and Redistribute
...
@@ -316,9 +316,8 @@ func (e *OpError) Error() string {
...
@@ -316,9 +316,8 @@ func (e *OpError) Error() string {
return
s
return
s
}
}
func
(
e
*
OpError
)
Cause
()
error
{
func
(
e
*
OpError
)
Cause
()
error
{
return
e
.
Err
}
return
e
.
Err
func
(
e
*
OpError
)
Unwrap
()
error
{
return
e
.
Err
}
}
// IStorage is the interface provided by opened ZODB storage.
// IStorage is the interface provided by opened ZODB storage.
...
...
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