Documentation ¶
Index ¶
- type DMap
- type Directory
- func (subDir *Directory) AddFile(newYear int16) (finfo_p *io.TimeBucketInfo, err error)
- func (dRoot *Directory) AddTimeBucket(tbk *io.TimeBucketKey, f *io.TimeBucketInfo) (err error)
- func (d *Directory) DirHasDataFiles() bool
- func (d *Directory) DirHasSubDirs() bool
- func (d *Directory) GatherCategoriesAndItems() map[string]map[string]int
- func (d *Directory) GatherCategoriesFromCache() (catList map[string]int8)
- func (d *Directory) GatherTimeBucketInfo() []*io.TimeBucketInfo
- func (d *Directory) GetCategory() string
- func (d *Directory) GetDataShapes(key *io.TimeBucketKey) (dsv []io.DataShape, err error)
- func (d *Directory) GetLatestTimeBucketInfoFromKey(key *io.TimeBucketKey) (fi *io.TimeBucketInfo, err error)
- func (d *Directory) GetListOfSubDirs() (subDirList []*Directory)
- func (d *Directory) GetName() string
- func (d *Directory) GetOwningSubDirectory(fullFilePath string) (subDir *Directory, err error)
- func (d *Directory) GetPath() string
- func (d *Directory) GetSubDirWithItemName(itemName string) (subDir *Directory)
- func (d *Directory) GetSubDirectoryAndAddFile(fullFilePath string, year int16) (*io.TimeBucketInfo, error)
- func (d *Directory) GetTimeBucketInfoSlice() (tbinfolist []*io.TimeBucketInfo)
- func (d *Directory) PathToTimeBucketInfo(path string) (*io.TimeBucketInfo, error)
- func (dRoot *Directory) RemoveTimeBucket(tbk *io.TimeBucketKey) (err error)
- func (d *Directory) String() string
- type FileAlreadyExists
- type LevelFunc
- type NotFoundError
- type PathNotContainedInExistingCategory
- type SubdirectoryDoesNotContainFiles
- type UnableToCreateFile
- type UnableToLocateSubDir
- type UnableToWriteHeader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
func NewDirectory ¶
func (*Directory) AddFile ¶
func (subDir *Directory) AddFile(newYear int16) (finfo_p *io.TimeBucketInfo, err error)
func (*Directory) AddTimeBucket ¶
func (dRoot *Directory) AddTimeBucket(tbk *io.TimeBucketKey, f *io.TimeBucketInfo) (err error)
func (*Directory) DirHasDataFiles ¶
func (*Directory) DirHasSubDirs ¶
func (*Directory) GatherCategoriesAndItems ¶
func (*Directory) GatherCategoriesFromCache ¶
func (*Directory) GatherTimeBucketInfo ¶
func (d *Directory) GatherTimeBucketInfo() []*io.TimeBucketInfo
func (*Directory) GetCategory ¶
func (*Directory) GetDataShapes ¶
func (*Directory) GetLatestTimeBucketInfoFromKey ¶
func (d *Directory) GetLatestTimeBucketInfoFromKey(key *io.TimeBucketKey) (fi *io.TimeBucketInfo, err error)
func (*Directory) GetListOfSubDirs ¶
func (*Directory) GetOwningSubDirectory ¶
func (*Directory) GetSubDirWithItemName ¶
func (*Directory) GetSubDirectoryAndAddFile ¶
func (*Directory) GetTimeBucketInfoSlice ¶
func (d *Directory) GetTimeBucketInfoSlice() (tbinfolist []*io.TimeBucketInfo)
func (*Directory) PathToTimeBucketInfo ¶
func (d *Directory) PathToTimeBucketInfo(path string) (*io.TimeBucketInfo, error)
func (*Directory) RemoveTimeBucket ¶
func (dRoot *Directory) RemoveTimeBucket(tbk *io.TimeBucketKey) (err error)
type FileAlreadyExists ¶
type FileAlreadyExists string
func (FileAlreadyExists) Error ¶
func (msg FileAlreadyExists) Error() string
type LevelFunc ¶
type LevelFunc func(*Directory, interface{}) // Function for use in recursing into directories
type NotFoundError ¶
type NotFoundError string
func (NotFoundError) Error ¶
func (msg NotFoundError) Error() string
type PathNotContainedInExistingCategory ¶
type PathNotContainedInExistingCategory string
func (PathNotContainedInExistingCategory) Error ¶
func (msg PathNotContainedInExistingCategory) Error() string
type SubdirectoryDoesNotContainFiles ¶
type SubdirectoryDoesNotContainFiles string
func (SubdirectoryDoesNotContainFiles) Error ¶
func (msg SubdirectoryDoesNotContainFiles) Error() string
type UnableToCreateFile ¶
type UnableToCreateFile string
func (UnableToCreateFile) Error ¶
func (msg UnableToCreateFile) Error() string
type UnableToLocateSubDir ¶
type UnableToLocateSubDir string
func (UnableToLocateSubDir) Error ¶
func (msg UnableToLocateSubDir) Error() string
type UnableToWriteHeader ¶
type UnableToWriteHeader string
func (UnableToWriteHeader) Error ¶
func (msg UnableToWriteHeader) Error() string
Click to show internal directories.
Click to hide internal directories.