Buckets:

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

Xet Storage Details

Size:
376 Bytes
·
Xet hash:
6315163a96a5f41dff2a1647d4dd0a7aedf32eab92c37be25e21ece4c95d6380

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