blob: dc40e98e23dec9e303c0c6af2ca9990af912d0a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
// Use of this source code is governed by the GPL 3.0
package main
import "go.wit.com/lib/protobuf/gitpb"
func doDirty() (string, error) {
found := me.forge.CheckDirty()
if found.Len() == 0 {
return "nothing dirty", nil
}
footer := found.PrintDefaultTB()
return footer, nil
}
func getDirty() (*gitpb.Repos, string, error) {
found := me.forge.CheckDirty()
return found, "", nil
}
|