Add no-internal-hashes mode

This commit is contained in:
comp500
2021-05-04 19:56:56 +01:00
parent 3462dd7f21
commit 49d7b26b2e
6 changed files with 51 additions and 26 deletions

View File

@@ -158,7 +158,7 @@ var importCmd = &cobra.Command{
Index: struct {
File string `toml:"file"`
HashFormat string `toml:"hash-format"`
Hash string `toml:"hash"`
Hash string `toml:"hash,omitempty"`
}{
File: indexFilePath,
},