jscancella / bagging

A clean and easy to use implementation of the BagIt specification
Other
2 stars 7 forks source link

Saving extra tag files in directory (not in bag itself!) #43

Closed Bolkun closed 4 years ago

Bolkun commented 4 years ago

When submitting an issue please include:

jscancella commented 4 years ago

Need to add a check on line https://github.com/jscancella/bagging/blob/master/src/main/java/com/github/jscancella/domain/BagBuilder.java#L179 If it is a directory, then it should be builder.addFile(tagFile, rootDir.relativize(tagFile)); or something like that. Be sure to add a test case for this!

jscancella commented 4 years ago

This should be fixed in version 4.3