mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
fs - Remove unreferenced ListTierer optional interface
This commit is contained in:
parent
b22ecbe174
commit
e0c5f7ff1b
8
fs/fs.go
8
fs/fs.go
@ -341,12 +341,6 @@ type GetTierer interface {
|
||||
GetTier() string
|
||||
}
|
||||
|
||||
// ListTierer is an optional interface for Object
|
||||
type ListTierer interface {
|
||||
// ListTiers returns list of supported storage tiers
|
||||
ListTiers() []string
|
||||
}
|
||||
|
||||
// ListRCallback defines a callback function for ListR to use
|
||||
//
|
||||
// It is called for each tranche of entries read from the listing and
|
||||
@ -386,7 +380,6 @@ type Features struct {
|
||||
BucketBased bool // is bucket based (like s3, swift etc)
|
||||
SetTier bool // allows set tier functionality on objects
|
||||
GetTier bool // allows to retrieve storage tier of objects
|
||||
ListTiers bool // allows to list supported tiers on objects
|
||||
|
||||
// Purge all files in the root and the root directory
|
||||
//
|
||||
@ -607,7 +600,6 @@ func (ft *Features) Mask(f Fs) *Features {
|
||||
ft.BucketBased = ft.BucketBased && mask.BucketBased
|
||||
ft.SetTier = ft.SetTier && mask.SetTier
|
||||
ft.GetTier = ft.GetTier && mask.GetTier
|
||||
ft.ListTiers = ft.ListTiers && mask.ListTiers
|
||||
|
||||
if mask.Purge == nil {
|
||||
ft.Purge = nil
|
||||
|
Loading…
Reference in New Issue
Block a user