Documentation
¶
Index ¶
- Variables
- func Initialize()
- func IsInMappy(item string, mp mappy) bool
- func ReloadFromDisk(path string) (err error)
- type FormFile
- type FormFiles
- type IdxInfo
- type Locker
- type Node
- func (node *Node) Delete() (err error)
- func (node *Node) FileExt() string
- func (node *Node) FilePath() string
- func (node *Node) FileReader() (reader file.ReaderAt, err error)
- func (node *Node) HasFile() bool
- func (node *Node) HasIndex(index string) bool
- func (node *Node) HasParent() bool
- func (node *Node) Index(name string) (idx index.Index, err error)
- func (node *Node) IndexPath() string
- func (node *Node) Mkdir() (err error)
- func (node *Node) Path() string
- func (node *Node) Rmdir() (err error)
- func (node *Node) Save() (err error)
- func (node *Node) SetAttributes(attr FormFile) (err error)
- func (node *Node) SetFile(file FormFile) (err error)
- func (node *Node) SetFileFormat(format string) (err error)
- func (node *Node) SetFileFromParts(p *partsList) (err error)
- func (node *Node) SetFileFromPath(path string) (err error)
- func (node *Node) SetIndexInfo(indextype string, idxinfo IdxInfo) (err error)
- func (node *Node) ToJson() (s string, err error)
- func (node *Node) Update(params map[string]string, files FormFiles) (err error)
- func (node *Node) UpdateDataTags(types string) (err error)
- func (node *Node) UpdateLinkages(ltype string, ids string, operation string) (err error)
- func (node *Node) UpdateVersion() (err error)
- type Nodes
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *mgo.Collection
View Source
var (
LockMgr = NewLocker()
)
Functions ¶
func Initialize ¶
func Initialize()
func ReloadFromDisk ¶
Types ¶
type Locker ¶
type Locker struct {
// contains filtered or unexported fields
}
func (*Locker) LockPartOp ¶
func (l *Locker) LockPartOp()
func (*Locker) UnlockPartOp ¶
func (l *Locker) UnlockPartOp()
type Node ¶
type Node struct {
Id string `bson:"id" json:"id"`
Version string `bson:"version" json:"version"`
File file.File `bson:"file" json:"file"`
Attributes interface{} `bson:"attributes" json:"attributes"`
Indexes indexes `bson:"indexes" json:"indexes"`
Acl acl.Acl `bson:"acl" json:"-"`
VersionParts map[string]string `bson:"version_parts" json:"-"`
Tags []string `bson:"tags" json:"tags"`
Revisions []Node `bson:"revisions" json:"-"`
Linkages []linkage `bson:"linkage" json:"linkages"`
}
func CreateNodeUpload ¶
func LoadFromDisk ¶
func LoadUnauth ¶
func (*Node) SetAttributes ¶
func (*Node) SetFileFormat ¶
func (*Node) SetFileFromParts ¶
func (*Node) SetFileFromPath ¶
func (*Node) SetIndexInfo ¶
func (*Node) UpdateDataTags ¶
func (*Node) UpdateLinkages ¶
func (*Node) UpdateVersion ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
format/fasta
Package to read and write FASTA format files
|
Package to read and write FASTA format files |
|
format/fastq
Package to read and write FASTQ format files
|
Package to read and write FASTQ format files |
|
format/sam
Package to read and write SAM format files
|
Package to read and write SAM format files |
Click to show internal directories.
Click to hide internal directories.