Buckets:
| import { Location } from "@opencode-ai/core/location" | |
| import { Project } from "@opencode-ai/core/project" | |
| import { AbsolutePath } from "@opencode-ai/core/schema" | |
| export function location(ref: Location.Ref, input: { projectDirectory?: AbsolutePath; vcs?: Project.Vcs } = {}) { | |
| return { | |
| directory: ref.directory, | |
| workspaceID: ref.workspaceID, | |
| project: { id: Project.ID.global, directory: input.projectDirectory ?? ref.directory }, | |
| vcs: input.vcs, | |
| } satisfies Location.Interface | |
| } | |
Xet Storage Details
- Size:
- 499 Bytes
- Xet hash:
- d1001f12a6ec08c85e44a09c6d35d5f3674a0f8b9dc62b8cbf511ac3d1fb14e8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.