We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c166160 + b1e0dea commit de64d1dCopy full SHA for de64d1d
bagit.net/services/TagFileService.cs
@@ -102,7 +102,10 @@ public void ValidateBagitTXT(string bagRoot)
102
{
103
var bagitPath = Path.Combine(bagRoot, "bagit.txt");
104
if (!File.Exists(bagitPath))
105
+ {
106
_messageService.Add(new MessageRecord(MessageLevel.ERROR, $"bagit.txt is missing from {bagRoot}."));
107
+ return;
108
+ }
109
var tags = GetTagFileAsDict(bagitPath);
110
111
if (!tags.TryGetValue("BagIt-Version", out var version))
0 commit comments