Documentation ¶
Index ¶
- func AssertBasePaths()
- func CreateSymlink(original, new string) error
- func Exists(filepath string) bool
- func GetBasePath() string
- func GetDispenseMetadataPath(sessionId uint64) string
- func GetIncrementalFileName(outDir string, ext string) string
- func GetKeyValueStorePath() string
- func GetLatestDslrFileNumber(sessionId uint64) uint64
- func GetMetadataDir() string
- func GetPostDslrDir(sessionId uint64) string
- func GetRawDslrDir(sessionId uint64) string
- func GetRawVideoDir(sessionId uint64, rtspPath string) string
- func GetStateReportPath(sessionId uint64) string
- func GetVialProfileSnapshotPath(sessionId uint64) string
- func InitSessionContent(sessionId uint64, productionId uint64) error
- func SetPerms(p string)
- func WriteCreationTimeUsingMetadata(filePath string) error
- func WriteCreationTimeUsingNow(filePath string) error
- func WriteProtoYaml(path string, msg proto.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertBasePaths ¶
func AssertBasePaths()
func CreateSymlink ¶
func GetBasePath ¶
func GetBasePath() string
func GetDispenseMetadataPath ¶
func GetIncrementalFileName ¶
GetIncrementalFile considers 'outDir' and returns the **full path to** the NEXT incremental file name on disk (w/ .'ext'). E.g:
1.mp4 2.mp4 3.mp4 -> [outDir]/4.mp4
func GetKeyValueStorePath ¶
func GetKeyValueStorePath() string
func GetLatestDslrFileNumber ¶
func GetMetadataDir ¶
func GetMetadataDir() string
func GetPostDslrDir ¶
func GetRawDslrDir ¶
func GetStateReportPath ¶
func InitSessionContent ¶
InitSessionContent creates a session folder on disk that content uses It also sets the 'latest' symlink to point to this session folder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.