Skip to content

Commit cd86e6b

Browse files
committed
forgot to add bagit to recalculation of bag during writing out
1 parent 20a6189 commit cd86e6b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/gov/loc/repository/bagit/writer/BagWriter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ protected static Set<Manifest> updateTagManifests(Bag bag) throws NoSuchAlgorith
144144
tagFilePaths.add(bag.getRootDir().resolve("bag-info.txt"));
145145
tagFilePaths.add(bag.getRootDir().resolve("package-info.txt"));
146146
tagFilePaths.add(bag.getRootDir().resolve("fetch.txt"));
147+
tagFilePaths.add(bag.getRootDir().resolve("bagit.txt"));
147148

148149
for(Manifest tagManifest : bag.getTagManifests()){
149150
Set<Path> pathsToUpdate = new HashSet<>(tagManifest.getFileToChecksumMap().keySet());

0 commit comments

Comments
 (0)