mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-26 02:22:52 +09:00
feat: use job emitter
This commit is contained in:
@ -148,7 +148,3 @@ func ParseLog(in string) (timestamp time.Time, content string, err error) {
|
||||
content = in[index+1:]
|
||||
return
|
||||
}
|
||||
|
||||
func LogFileName(repoFullName string, taskID int64) string {
|
||||
return fmt.Sprintf("%s/%02x/%d.log", repoFullName, taskID%256, taskID)
|
||||
}
|
||||
|
Reference in New Issue
Block a user