Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

pkg

This directory contains the source code for r2's main functionality. Functions defined here are to be used by the CLI and are publicly exported for API use.

Architecture

  • client.go contains all R2 client-level operations (e.g. configuration, bucket creation, etc.)
  • bucket.go contains all bucket-level operations (e.g. listing objects, fetching objects, etc.)
  • helpers.go contains miscellaneous helper functions used throughout the CLI