Buckets:

download
raw
364 Bytes
function f(t){if(/^\/(docs|learn)/.test(t)){const s=t.slice(1).split("/"),e=s.shift(),n=s.shift(),i=(e==="learn"?/^(?:pr_\d+)$/:/^(?:(master|main)|v[\d.]+(rc\d+)?|pr_\d+)$/).test(s[0])?s.shift():"main",r=/^[a-z]{2}(-[A-Z]{2})?$/.test(s[0])?s.shift():"ja",o=s.join("/");if(n==="diffusers"&&i==="main"&&r==="ja")return`/docs/diffusers/main/ja/${o}`}}export{f as g};

Xet Storage Details

Size:
364 Bytes
·
Xet hash:
9d348eaf56e9b9dce740ad7bc8dbbcd398ac40cd52c7fbf5818e03d65d13388e

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