Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
c
cloudhead
scripts: Small improvement to `cache-cobs`
CI — 0 passed, 1 failed
z6Mki2ag...Tyuy failure
1 year ago bc142296398cc6686b68c4aef652046a8eb62aaf History
heartwood scripts cache-cobs
#!/bin/sh
set -e

DIRECTORY="$(rad path)/storage"

if [ ! -d "$DIRECTORY" ]; then
  echo "Error: Directory $DIRECTORY does not exist or is not accessible."
  exit 1
fi

for repo in "$DIRECTORY"/*; do
  if [ -d "$repo" ]; then
    rid=$(basename "$repo")
    echo "Processing rad:$rid.."
    rad issue cache --repo "rad:$rid"
    rad patch cache --repo "rad:$rid"
    echo
  fi
done