Buckets:
| export const diff = { | |
| before: { | |
| name: "src/greet.ts", | |
| contents: `export function greet(name: string) { | |
| return \`Hello, \${name}!\` | |
| } | |
| `, | |
| }, | |
| after: { | |
| name: "src/greet.ts", | |
| contents: `export function greet(name: string, excited = false) { | |
| const message = \`Hello, \${name}!\` | |
| return excited ? \`\${message}!!\` : message | |
| } | |
| `, | |
| }, | |
| } | |
| export const code = { | |
| name: "src/calc.ts", | |
| contents: `export function sum(values: number[]) { | |
| return values.reduce((total, value) => total + value, 0) | |
| } | |
| export function average(values: number[]) { | |
| if (values.length === 0) return 0 | |
| return sum(values) / values.length | |
| } | |
| `, | |
| } | |
| export const markdown = [ | |
| "# Markdown", | |
| "", | |
| "Use **Markdown** for rich text.", | |
| "", | |
| "## Highlights", | |
| "- Headings, lists, and code blocks", | |
| "- Inline `code` and links", | |
| "", | |
| "```ts", | |
| "export const value = 42", | |
| "```", | |
| "", | |
| "More at https://example.com/docs", | |
| ].join("\n") | |
| export const changes = { | |
| additions: 18, | |
| deletions: 6, | |
| } | |
Xet Storage Details
- Size:
- 998 Bytes
- Xet hash:
- ef0ff63c013ccb91156fa962db12db10bf50a61eb49088765ce76c0e61675f26
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.