mirror of
https://github.com/kopia/kopia.git
synced 2026-10-20 13:14:45 -04:00
present legacy object IDs without the 'D'
This commit is contained in:
1 parent
7dea2359c2
commit
d3cf01fc45
1 file changed
+1
-1
+1
-1
@@ -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