Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • F fuchsia.googlesource.com-third_party-github.com-googleapis-google-cloud-go
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Analytics
    • Analytics
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • fuchsia-mirror
  • fuchsia.googlesource.com-third_party-github.com-googleapis-google-cloud-go
  • Repository
  • fuchsia.googlesource.com-third_party-github.com-googleapis-google-cloud-go
  • storage
  • reader_test.go
Find file Blame History Permalink
  • Emmanuel T Odeke's avatar
    storage: add StartOffset and more tests for NewRangeReader · 6f3ae29f
    Emmanuel T Odeke authored Aug 26, 2019
    * Adds StartOffset to ReaderObjectAttrs, which for range
    requests is the value from which the read began
    * Updates the range reader integration tests to also test
    negative offsets aka offsets from the end of the file
    * Adds integration tests for the various styles of reading
    the same last n bytes from a file
    * Adds example tests to show the various styles of using
    (*ObjectHandle).NewRangeReader
    * Replaces CL https://code-review.googlesource.com/c/gocloud/+/44132
    for which the original author @brimworks no longer has
    Gerrit access due to job changes
    
    Updates #1540.
    
    Change-Id: I56b7777cc46e3c501593e92e27a7c083a729fed5
    Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/44610
    
    
    Reviewed-by: default avatarFrank Natividad <[email protected]>
    Reviewed-by: default avatarkokoro <[email protected]>
    6f3ae29f

渝ICP备19000525号-3, Hexang Open Source Lifestyle