1
0

Implement refetch

This commit is contained in:
2023-05-12 00:07:51 +00:00
parent 3d2b8b7d2a
commit efbdc9db36
2 changed files with 32 additions and 10 deletions

View File

@ -4,6 +4,7 @@ import (
"errors"
"fmt"
"strings"
"time"
"code.dumpstack.io/tools/out-of-tree/distro/debian/snapshot"
)
@ -23,6 +24,12 @@ type DebianKernel struct {
Version DebianKernelVersion
Image snapshot.Package
Headers snapshot.Package
// FIXME There is a better way
Internal struct {
Invalid bool
LastFetch time.Time
}
}
var (