MCPcopy Index your code
hub / github.com/fontsource/fontsource / bucketPathVariable

Function bucketPathVariable

api/download/src/bucket.ts:38–45  ·  view source on GitHub ↗
({
	id,
	subset,
	axes,
	style,
	version,
}: BucketPathVariable)

Source from the content-addressed store, hash-verified

36}: BucketPath) => `${id}@${version}/${subset}-${weight}-${style}.${extension}`;
37
38export const bucketPathVariable = ({
39 id,
40 subset,
41 axes,
42 style,
43 version,
44}: BucketPathVariable) =>
45 `${id}@${version}/variable/${subset}-${axes}-${style}.woff2`;
46
47const handleBucketError = (resp: Response, msg: string) => {
48 if (resp.status === 401) {

Callers 1

downloadVariableFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected