feat: set path as ID if it's empty
This commit is contained in:
@ -29,3 +29,7 @@ func (f Object) IsDir() bool {
|
||||
func (f Object) GetID() string {
|
||||
return f.ID
|
||||
}
|
||||
|
||||
func (f *Object) SetID(id string) {
|
||||
f.ID = id
|
||||
}
|
||||
|
Reference in New Issue
Block a user