Files
html/api/v76-scripts/skill-git-repo-size.sh

7 lines
313 B
Bash
Executable File

#!/bin/bash
# V31 batch generator - Opus WIRE doctrine 13+7 - Skill: git-repo-size
# Description: Git repo size
# Whitelist-safe timeout 8s
set +e
timeout 8 bash -c "cd /var/www/html && du -sh .git 2>/dev/null | awk '{print $1}'" 2>&1 || echo "{\"skill\":\"git-repo-size\",\"error\":\"timeout_or_missing_tool\"}"