func (repo *RepositoryConfig) Ready() {
	if repo.BaseDirectory == "" {
		panic("empty BaseDirectory")
	}
	var err error
	repo.BaseDirectory, err = filepath.Abs(repo.BaseDirectory)
	if err != nil {
		panic(err)
	}

	repo.PurgeAt(4, 0, "24h", MediaCollected)
	repo.PurgeAt(4, 15, "24h", MediaMotion)
	repo.PurgeAt(4, 30, repo.RetentionPeriod, MediaGenerated)
	repo.VacuumAt(4, 45)

	repo.startTimelapser(0, 0)
}
// Ready prepares the RepositoryConfig for use.
Ready prepares the RepositoryConfig for use.
// Ready prepares the RepositoryConfig for use .
func (repo *RepositoryConfig) Ready() {
	if repo.BaseDirectory == "" {
		panic("empty BaseDirectory")
	}
	var err error
	repo.BaseDirectory, err = filepath.Abs(repo.BaseDirectory)
	if err != nil {
		panic(err)
	}
	repo.PurgeAt(4, 0, "24h", MediaCollected)
	repo.PurgeAt(4, 15, "24h", MediaMotion)
	repo.PurgeAt(4, 30, repo.RetentionPeriod, MediaGenerated)
	repo.VacuumAt(4, 45)
	repo.startTimelapser(0, 0)
}
func ( repo * RepositoryConfig ) Ready ( ) { if repo . BaseDirectory == " " { panic ( " " ) } var err error repo . BaseDirectory , err = filepath . Abs ( repo . BaseDirectory ) if err != nil { panic ( err ) } repo . PurgeAt ( 4 , 0 , " " , MediaCollected ) repo . PurgeAt ( 4 , 15 , " " , MediaMotion ) repo . PurgeAt ( 4 , 30 , repo . RetentionPeriod , MediaGenerated ) repo . VacuumAt ( 4 , 45 ) repo . startTimelapser ( 0 , 0 ) }
Ready prepares the RepositoryConfig for use.
Ready prepares the RepositoryConfig for use .