Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kubo_final
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anastasiia Chirikova
kubo_final
Commits
bbcf4e23
Commit
bbcf4e23
authored
Feb 15, 2015
by
Brian Tiger Chow
Browse files
Options
Downloads
Patches
Plain Diff
feat(s3ds) declare the S3 datastore as threadsafe
parent
4b4356ff
Branches
Branches containing commit
No related tags found
1 merge request
!1
New
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
thirdparty/s3-datastore/datastore.go
+3
-1
3 additions, 1 deletion
thirdparty/s3-datastore/datastore.go
with
3 additions
and
1 deletion
thirdparty/s3-datastore/datastore.go
+
3
−
1
View file @
bbcf4e23
...
...
@@ -8,7 +8,7 @@ import (
query
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore/query"
)
var
_
datastore
.
Datastore
=
&
S3Datastore
{}
var
_
datastore
.
ThreadSafe
Datastore
=
&
S3Datastore
{}
var
errTODO
=
errors
.
New
(
"TODO"
)
...
...
@@ -43,3 +43,5 @@ func (ds *S3Datastore) Delete(key datastore.Key) (err error) {
func
(
ds
*
S3Datastore
)
Query
(
q
query
.
Query
)
(
query
.
Results
,
error
)
{
return
nil
,
errors
.
New
(
"TODO implement query for s3 datastore?"
)
}
func
(
ds
*
S3Datastore
)
IsThreadSafe
()
{}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment