mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 10:49:24 +08:00
filestore util: change "???..." to "<corrupt key>"
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
This commit is contained in:
@ -59,7 +59,7 @@ type ListRes struct {
|
|||||||
func (r *ListRes) FormatLong() string {
|
func (r *ListRes) FormatLong() string {
|
||||||
switch {
|
switch {
|
||||||
case r.Key == nil:
|
case r.Key == nil:
|
||||||
return "?????????????????????????????????????????????????"
|
return "<corrupt key>"
|
||||||
case r.FilePath == "":
|
case r.FilePath == "":
|
||||||
return r.Key.String()
|
return r.Key.String()
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user