refactor: have name return base58 cid

This commit is contained in:
Derrick Hammer 2024-01-24 19:23:17 -05:00
parent 7b7c705c0d
commit c3646fa4d4
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -129,7 +129,9 @@ func (f *File) HashString() string {
}
func (f *File) Name() string {
return f.HashString()
cid, _ := f.CID().ToString()
return cid
}
func (f *File) Modtime() time.Time {