refactor(repository): clarify reference domain (#28182)

This commit is contained in:
Shoubhit Dash
2026-05-18 21:04:44 +05:30
committed by GitHub
parent 2932b41e64
commit 5bfd7fd16c
4 changed files with 126 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ import {
sameRepositoryReference,
parseRepositoryReference,
validateRepositoryBranch,
type Reference as RepositoryReference,
type RemoteReference,
} from "@/util/repository"
export type Result = {
@@ -45,7 +45,7 @@ function resetTarget(input: {
export const ensure = Effect.fn("RepositoryCache.ensure")(function* (
input: {
reference: RepositoryReference
reference: RemoteReference
refresh?: boolean
branch?: string
},