mirror of
https://github.com/kopia/kopia.git
synced 2026-05-19 12:14:45 -04:00
present legacy object IDs without the 'D'
This commit is contained in:
@@ -20,7 +20,7 @@ type HasObjectID interface {
|
||||
|
||||
// String returns string representation of ObjectID that is suitable for displaying in the UI.
|
||||
func (i ID) String() string {
|
||||
return string(i)
|
||||
return strings.Replace(string(i), "D", "", -1)
|
||||
}
|
||||
|
||||
// IndexObjectID returns the object ID of the underlying index object.
|
||||
|
||||
Reference in New Issue
Block a user