Documentation ¶
Overview ¶
Package contains Node File struct and MultiReaderAt implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveAllFormFiles ¶
func RemoveAllFormFiles(formfiles FormFiles)
Types ¶
type File ¶
type File struct { Name string `bson:"name" json:"name"` Size int64 `bson:"size" json:"size"` Checksum map[string]string `bson:"checksum" json:"checksum"` Format string `bson:"format" json:"format"` Path string `bson:"path" json:"-"` Virtual bool `bson:"virtual" json:"virtual"` VirtualParts []string `bson:"virtual_parts" json:"virtual_parts"` CreatedOn time.Time `bson:"created_on" json:"created_on"` Locked *locker.LockInfo `bson:"-" json:"locked"` }
File is the Node file structure. Contains the json/bson marshalling controls.
type FileInfo ¶
type FileInfo struct { R []SectionReader E error ESection int Body io.ReadCloser Name string Size int64 ModTime time.Time Checksum string }
FileInfo for streaming file content
type ReaderAt ¶
type ReaderAt interface { SectionReader Stat() (os.FileInfo, error) Close() error }
ReaderAt interface that is compatiable with os.File types.
func MultiReaderAt ¶
MultiReaderAt returns a ReaderAt that's the logical concatenation of the provided input readers. BUG / KNOW-ISSUE: all file handles are opened initially. May not be suitiable for large numbers of files.
Directories ¶
Path | Synopsis |
---|---|
format
|
|
fasta
Package to read and write FASTA format files
|
Package to read and write FASTA format files |
fastq
Package to read and write FASTQ format files
|
Package to read and write FASTQ format files |
line
Package to read and index lines of a file
|
Package to read and index lines of a file |
multi
Package to read and auto-detect format of fasta & fastq files
|
Package to read and auto-detect format of fasta & fastq files |
sam
Package to read and write SAM format files
|
Package to read and write SAM format files |
seq
Package contains interfaces for fasta & fastq & and multi packages
|
Package contains interfaces for fasta & fastq & and multi packages |
Click to show internal directories.
Click to hide internal directories.