소스정

This commit is contained in:
LHK
2025-08-01 13:57:02 +09:00
부모 2a7b3c5468
커밋 389faa72be
6개의 변경된 파일7개의 추가작업 그리고 12개의 파일을 삭제

파일 보기

@@ -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
//