8ce889ed1b
* WIP ObjectStore * Remove methods for extended attributes * List returns metadata too * No real need to prepend "object" in path * Serialize metadata * List retuns []ListItem instead of []Path
15 lines
232 B
Go
15 lines
232 B
Go
// Copyright (C) 2018 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
package storage
|
|
|
|
import (
|
|
"storj.io/storj/pkg/paths"
|
|
)
|
|
|
|
// ListItem is a single item in a listing
|
|
type ListItem struct {
|
|
path paths.Path
|
|
meta Meta
|
|
}
|