mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-22 13:25:14 +00:00
19 lines
328 B
Go
19 lines
328 B
Go
package engine
|
|
|
|
import (
|
|
"bdev/internal/patchrepo"
|
|
"bdev/internal/registry"
|
|
)
|
|
|
|
type Context struct {
|
|
Checkout *registry.CheckoutRecord
|
|
PatchRepo *patchrepo.Context
|
|
}
|
|
|
|
func NewContext(record *registry.CheckoutRecord, patchCtx *patchrepo.Context) *Context {
|
|
return &Context{
|
|
Checkout: record,
|
|
PatchRepo: patchCtx,
|
|
}
|
|
}
|