Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: Doc fix #22117

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/storage/azblob/blob/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type Tags = generated.BlobTag

// HTTPRange defines a range of bytes within an HTTP resource, starting at offset and
// ending at offset+count. A zero-value HTTPRange indicates the entire resource. An HTTPRange
// which has an offset but no zero value count indicates from the offset to the resource's end.
// which has an offset and zero value count indicates from the offset to the resource's end.
type HTTPRange = exported.HTTPRange

// Request Model Declaration -------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azblob/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ func ParseURL(u string) (URLParts, error) {

// HTTPRange defines a range of bytes within an HTTP resource, starting at offset and
// ending at offset+count. A zero-value HTTPRange indicates the entire resource. An HTTPRange
// which has an offset but no zero value count indicates from the offset to the resource's end.
// which has an offset and zero value count indicates from the offset to the resource's end.
type HTTPRange = exported.HTTPRange
2 changes: 1 addition & 1 deletion sdk/storage/azblob/internal/exported/exported.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// HTTPRange defines a range of bytes within an HTTP resource, starting at offset and
// ending at offset+count. A zero-value HTTPRange indicates the entire resource. An HTTPRange
// which has an offset but no zero value count indicates from the offset to the resource's end.
// which has an offset and zero value count indicates from the offset to the resource's end.
type HTTPRange struct {
Offset int64
Count int64
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azdatalake/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func ParseURL(u string) (URLParts, error) {

// HTTPRange defines a range of bytes within an HTTP resource, starting at offset and
// ending at offset+count. A zero-value HTTPRange indicates the entire resource. An HTTPRange
// which has an offset but no zero value count indicates from the offset to the resource's end.
// which has an offset and zero value count indicates from the offset to the resource's end.
type HTTPRange = exported.HTTPRange

// ===================================== LEASE CONSTANTS ============================================================
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azdatalake/file/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ type SetExpiryOptions struct {

// HTTPRange defines a range of bytes within an HTTP resource, starting at offset and
// ending at offset+count. A zero-value HTTPRange indicates the entire resource. An HTTPRange
// which has an offset but no zero value count indicates from the offset to the resource's end.
// which has an offset and zero value count indicates from the offset to the resource's end.
type HTTPRange = exported.HTTPRange

// ================================= path imports ==================================
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azdatalake/internal/exported/exported.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const SnapshotTimeFormat = "2006-01-02T15:04:05.0000000Z07:00"

// HTTPRange defines a range of bytes within an HTTP resource, starting at offset and
// ending at offset+count. A zero-value HTTPRange indicates the entire resource. An HTTPRange
// which has an offset but no zero value count indicates from the offset to the resource's end.
// which has an offset and zero value count indicates from the offset to the resource's end.
type HTTPRange = blob.HTTPRange

// FormatHTTPRange converts an HTTPRange to its string format.
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azfile/file/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type SourceModifiedAccessConditions = generated.SourceModifiedAccessConditions

// HTTPRange defines a range of bytes within an HTTP resource, starting at offset and
// ending at offset+count. A zero-value HTTPRange indicates the entire resource. An HTTPRange
// which has an offset but no zero value count indicates from the offset to the resource's end.
// which has an offset and zero value count indicates from the offset to the resource's end.
type HTTPRange = exported.HTTPRange

// ShareFileRangeList - The list of file ranges.
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azfile/internal/exported/exported.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// HTTPRange defines a range of bytes within an HTTP resource, starting at offset and
// ending at offset+count. A zero-value HTTPRange indicates the entire resource. An HTTPRange
// which has an offset but no zero value count indicates from the offset to the resource's end.
// which has an offset and zero value count indicates from the offset to the resource's end.
type HTTPRange struct {
Offset int64
Count int64
Expand Down