소스정
This commit is contained in:
@@ -9,11 +9,11 @@ import (
|
||||
"git.lhk.o-r.kr/freerer2/simple_backup/internal/constants"
|
||||
)
|
||||
|
||||
// GetGroupByFolder generates a backup path based on the groupBy option and time.
|
||||
// GetGroupByFolder generates a simple_backup path based on the groupBy option and time.
|
||||
// If groupBy is invalid or empty, it returns the basePath unchanged.
|
||||
//
|
||||
// Parameters:
|
||||
// - basePath: the base directory path for backup
|
||||
// - basePath: the base directory path for simple_backup
|
||||
// - groupBy: grouping option (year, mon, day, hour, min, sec)
|
||||
// - t: time to use for path generation
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user