filelist

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2017 License: MIT Imports: 3 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileListFolder

type FileListFolder struct {
	Folders    []*FileListFolder
	Files      []models.File
	FolderName string
}

FileListFolder struct

func FileListToFolder

func FileListToFolder(fileList []models.File, folderName string) (out *FileListFolder)

FileListToFolder convert a filelist to filelistfolder

func (*FileListFolder) TotalSize

func (f *FileListFolder) TotalSize() (out int64)

TotalSize : gives the total size of filelistfolder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL