}
private void add(MetadataRepositoryItem meta) {
root.insert(meta, meta.getPath(), allowOverwrite);
// add checksums for the item as well
root.insert(new MetadataChecksumRepositoryItem("md5", meta),
meta.getPath() + ".md5", allowOverwrite);
root.insert(new MetadataChecksumRepositoryItem("sha1", meta),
meta.getPath() + ".sha1", allowOverwrite);
}