mgr_entry

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapEntry

type MapEntry struct {
	gorm.Model
	FileName       string `gorm:"index"`
	CellsTableName string
	Recycled       bool
	RecycledAt     time.Time
}

MapEntry Represents a 'directory entry' of FileManager. Every entry maps a FileName to a CellsTableName which is the name of sqlite table storing Cells of the mapped SheetFile.

Recycled is a flag indicates that whether the mapped file has been moved to 'recycle bin' or not. When a file is recycled, time of this operation is recorded in the RecycledAt field. Recycled files will be permanently after a period of time, before they are deleted, they can be resumed.

Source Files

Jump to

Keyboard shortcuts

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