Documentation ¶
Index ¶
- type Molecule
- func (m *Molecule) Close() error
- func (m *Molecule) Compress() error
- func (m *Molecule) Encrypt() error
- func (m *Molecule) Header() ([]byte, error)
- func (m *Molecule) Info() os.FileInfo
- func (m *Molecule) NewAtom(cubeId string, size int64) *atom.Atom
- func (m *Molecule) Open() error
- func (m *Molecule) OrigInfo() os.FileInfo
- func (m *Molecule) Read(p []byte) (n int, err error)
- func (m *Molecule) Seek(offset int64, whence int) (int64, error)
- func (m *Molecule) Size() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Molecule ¶
type Molecule struct { Id string `json:"id"` Path string `json:"path"` Hash string `json:"hash"` Atoms []*atom.Atom `json:"-"` CreatedAt time.Time `json:"created_at"` OriginalSize int64 `json:"size"` // contains filtered or unexported fields }
Container for storing backed up files. Handles splitting content between cubes.
Click to show internal directories.
Click to hide internal directories.