Buckets:
| // Copyright (c) 2026 the Zuke contributors | |
| // SPDX-License-Identifier: MIT | |
| /** | |
| * The one test for a control character. Internal to the package: a filter | |
| * string and a bearer token both refuse one, and share this so the two never | |
| * disagree about which characters count. | |
| * | |
| * @module | |
| */ | |
| /** Whether `value` holds a C0 control character (a line break among them) or DEL. */ | |
| export function hasControl(value: string): boolean { | |
| // deno-lint-ignore no-control-regex | |
| return /[\u0000-\u001f\u007f]/.test(value); | |
| } | |
Xet Storage Details
- Size:
- 521 Bytes
- Xet hash:
- 99abfed9246239b082c1220c5bcc6b7c19f410aa7ea3e78b3d3e2944ceadda97
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.