service

package
v0.0.0-...-7a0ce36 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const FileLockKey = "lock:folder_id=%d"

use for file name unique

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(file *dao.FileInfo, meta *dao.FileMeta) error

func GetSubEntry

func GetSubEntry(ownerId, folderId int64, filterFolders []int64, filterFiles []int64) (subfolder []*dao.FolderInfo, subfile []*dao.FileInfo, err error)

func GetSubEntryRecursive

func GetSubEntryRecursive(ownerId, folderId int64) (folders []*dao.FolderInfo, files []*dao.FileInfo, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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