Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRelativePath occurs when path is relative (contains ".."") ErrRelativePath = errors.New("pathname contains relatives paths") )
Functions ¶
Types ¶
type ByHybridSort ¶
type ByHybridSort []provider.StorageItem
ByHybridSort implements Sorter by type, name then modification time
func (ByHybridSort) Len ¶
func (a ByHybridSort) Len() int
func (ByHybridSort) Less ¶
func (a ByHybridSort) Less(i, j int) bool
func (ByHybridSort) Swap ¶
func (a ByHybridSort) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.