Skip to content

Commit 1edb55c

Browse files
Add comment before OpenBucket func
1 parent 1e8d14f commit 1edb55c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/setting/setting.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,7 @@ func loadOrGenerateInternalToken(sec *ini.Section) string {
10431043
return token
10441044
}
10451045

1046+
// OpenBucket returns the bucket associated to path parameter
10461047
func OpenBucket(ctx context.Context, path string) (*blob.Bucket, error) {
10471048
if filepath.IsAbs(path) {
10481049
if err := os.MkdirAll(path, 0700); err != nil {

0 commit comments

Comments
 (0)