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

This commit is contained in:
Samuel Lorch 2024-07-05 19:37:23 +02:00 committed by Samuel Lorch
parent 2dec6a6271
commit b7f0ccc8a6
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))
}