Browse Source

Add get all to list all objects

master
Maxime Wack 3 months ago
parent
commit
f4269d48e5
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      functions

+ 9
- 0
functions View File

@@ -241,6 +241,10 @@ function list
validate_patient
validate_hashes
list_object ;;
all)
validate_patient
validate_hashes
list_all ;;
*) usage $VERB ;;
esac
}
@@ -264,6 +268,11 @@ function list_object
git log --format=%s --grep="^$OBJECT:" "${HASHES[@]}"
}

function list_all
{
git log --format=%s --grep='^\(patient\|sample\|data\|result\|diagnostic\)' "${HASHES[@]}"
}

###############################################################################
# Get functions



Loading…
Cancel
Save