GHHG10's picture
download
raw
418 Bytes
import { expect, test } from "bun:test"
import { Ignore } from "@opencode-ai/core/filesystem/ignore"
test("match nested and non-nested", () => {
expect(Ignore.match("node_modules/index.js")).toBe(true)
expect(Ignore.match("node_modules")).toBe(true)
expect(Ignore.match("node_modules/")).toBe(true)
expect(Ignore.match("node_modules/bar")).toBe(true)
expect(Ignore.match("node_modules/bar/")).toBe(true)
})

Xet Storage Details

Size:
418 Bytes
·
Xet hash:
d84964669dd1fb718510a1176b8dc284b8f1e9376cafecedd9b8339637058776

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.