wip
All checks were successful
/ release (push) Successful in 41s

This commit is contained in:
Samuel Lorch 2024-07-05 19:37:23 +02:00 committed by Samuel Lorch
parent b03e85db0b
commit cd3c06d7d0
4 changed files with 32 additions and 26 deletions

View file

@ -87,6 +87,7 @@ const (
FILE_STATUS_MISSING
FILE_STATUS_EXISTS
FILE_STATUS_CHANGED
FILE_STATUS_NEW
)
func (s FileStatus) String() string {
@ -99,6 +100,8 @@ func (s FileStatus) String() string {
return "Exists"
case FILE_STATUS_CHANGED:
return "Changed"
case FILE_STATUS_NEW:
return "New"
default:
return fmt.Sprintf("%d", int(s))
}