<message>Update the _set_golden_from_path function to improve the handling of existing golden image files. Replace the existing unlink logic with a more robust method that safely removes files or broken symlinks using the missing_ok parameter. This change enhances the reliability of the backup upload process by ensuring that stale references are properly cleared before setting a new golden image path.
50 lines
360 B
Plaintext
50 lines
360 B
Plaintext
# Git
|
|
.git
|
|
.gitignore
|
|
|
|
# Python
|
|
__pycache__
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
*.egg-info
|
|
dist
|
|
build
|
|
.venv
|
|
venv
|
|
|
|
# Environment files (uploaded separately)
|
|
.env
|
|
.env.*
|
|
env.example
|
|
|
|
# Docker
|
|
Dockerfile
|
|
docker-compose*.yml
|
|
.dockerignore
|
|
|
|
# IDE
|
|
.vscode
|
|
.idea
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# SSH keys
|
|
.cert/
|
|
*.pem
|
|
|
|
# Logs
|
|
*.log
|
|
logs/
|
|
|
|
# Data
|
|
data/
|
|
*.db
|
|
|