crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
v0.50.12
ROOT
/
go
/
store
/
blobstore
/
oss.go
Search
History
146 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
enabled
OSSBlobstore
bucket
:
*oss.Bucket
bucketName
:
string
enableVersion
:
bool
prefix
:
string
NewOSSBlobstore
(ossClient *oss.Client, bucketName, prefix string)
:
(*OSSBlobstore, error)
normalizePrefix
(prefix string)
:
string
isNotFoundErr
(err error)
:
bool
*OSSBlobstore
Exists
(_ context.Context, key string)
:
(bool, error)
Get
(ctx context.Context, key string, br BlobRange)
:
(io.ReadCloser, string, error)
Put
(ctx context.Context, key string, reader io.Reader)
:
(string, error)
CheckAndPut
(ctx context.Context, expectedVersion, key string, reader io.Reader)
:
(string, error)
absKey
(key string)
:
string
getVersion
(meta http.Header)
:
string
All occurrences
Please wait...
Page is in error, reload to recover