MCPcopy Index your code
hub / github.com/GoogleCloudPlatform/gsutil

github.com/GoogleCloudPlatform/gsutil @v5.37

Chat with this repo
repository ↗ · DeepWiki ↗ · release v5.37 ↗ · + Follow
4,068 symbols 18,650 edges 233 files 2,232 documented · 55% 2 cross-repo links updated today★ 919334 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

IMPORTANT: gsutil is not the recommended CLI for Cloud Storage. Use gcloud storage commands in the Google Cloud CLI instead.

  • The gsutil tool is a legacy Cloud Storage CLI and minimally maintained.
  • The gsutil tool does not support working with newer Cloud Storage features, such as soft delete and managed folders.
  • gcloud storage commands require less manual optimization in order to achieve the fastest upload and download rates.

gsutil

gsutil is a Python application that lets you access Google Cloud Storage from the command line. You can use gsutil to do a wide range of bucket and object management tasks, including:

  • Creating and deleting buckets.
  • Uploading, downloading, and deleting objects.
  • Listing buckets and objects.
  • Moving, copying, and renaming objects.
  • Editing object and bucket ACLs.

Installation

For installation instructions, please see:

https://cloud.google.com/storage/docs/gsutil_install

Testing / Development

The gsutil source code is available at https://github.com/GoogleCloudPlatform/gsutil

See https://cloud.google.com/storage/docs/gsutil/addlhelp/ContributingCodetogsutil for best practices on how to contribute code changes to the gsutil repository.

Help and Support

Run the "gsutil help" command for a list of the built-in gsutil help topics.

You can also browse the help pages online at:

https://cloud.google.com/storage/docs/gsutil

For community support, visit:

https://cloud.google.com/storage/docs/resources-support#community

Core symbols most depended-on inside this repo

CreateObject
called by 522
gslib/tests/mock_cloud_api.py
CreateTempFile
called by 434
gslib/tests/testcase/base.py
SetBotoConfigForTest
called by 345
gslib/tests/util.py
get
called by 213
gslib/utils/parallelism_framework_util.py
StorageUrlFromString
called by 193
gslib/storage_url.py
CreateTempDir
called by 170
gslib/tests/testcase/base.py
read
called by 113
gslib/utils/hashing_helper.py
TailSet
called by 100
gslib/tests/util.py

Shape

Method 2,859
Function 567
Class 446
Route 196

Languages

Python100%

Modules by API surface

gslib/tests/test_cp.py196 symbols
gslib/tests/test_iam.py120 symbols
gslib/tests/test_shim_util.py112 symbols
gslib/tests/test_parallelism_framework.py98 symbols
gslib/tests/test_acl.py92 symbols
gslib/tests/test_naming.py87 symbols
gslib/utils/copy_helper.py85 symbols
gslib/command.py81 symbols
gslib/tests/test_rsync.py73 symbols
gslib/tests/test_ls.py73 symbols
gslib/gcs_json_api.py70 symbols
gslib/cloud_api.py66 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add gsutil \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact