silverwolf-x's picture
download
raw
410 Bytes
import type { PathnameNormalizer } from './pathname-normalizer'
import { PrefixPathnameNormalizer } from './prefix'
export class BasePathPathnameNormalizer
extends PrefixPathnameNormalizer
implements PathnameNormalizer
{
constructor(basePath: string) {
if (!basePath || basePath === '/') {
throw new Error('Invariant: basePath must be set and cannot be "/"')
}
super(basePath)
}
}

Xet Storage Details

Size:
410 Bytes
·
Xet hash:
d42dd8aace1dde71c956eeca9f36a8895d6188618414af544a7b51642f572f16

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