Skip to content
Merged
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
6 changes: 6 additions & 0 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import json
from pathlib import Path
import shutil

import synthtool as s
from synthtool import gcp
Expand Down Expand Up @@ -49,6 +50,11 @@

source_path = Path("google/cloud/storage_v2")
renamed_path = Path("google/cloud/_storage_v2")

# Remove the old _storage_v2 directory if it exists
if renamed_path.exists():
shutil.rmtree(renamed_path)

if source_path.exists():
source_path.rename(renamed_path)

Expand Down