Allow 'm' flag in rename flag position

The 'm' flag is used as a special flag by mixer-integration on the
client side to indicate a manifest record in the Manifest.MoM was
created by a local mix. Allow this flag and just set the rename flag to
renameUnset.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This commit is contained in:
Matthew Johnson
2018-03-08 16:39:51 -08:00
committed by tmarcu
parent 604e33249c
commit 94e7f8a474
+3
View File
@@ -192,6 +192,9 @@ func renameFromFlag(flag byte) (frename, error) {
return renameSet, nil
case '.':
return renameUnset, nil
case 'm':
// this is a special flag used by mixer-integration client-side
return renameUnset, nil
default:
return renameUnset, fmt.Errorf("invalid file rename flag: %v", flag)
}