DuyTa's picture
Upload folder using huggingface_hub
bc20498 verified
raw
history blame
355 Bytes
/**
* @param {URL} url
* @param {{parentURL: string}} context
* @returns {string | null}
*/
export function defaultGetFormatWithoutErrors(url: URL, context: {
parentURL: string;
}): string | null;
export type ProtocolHandler = (parsed: URL, context: {
parentURL: string;
source?: Buffer;
}, ignoreErrors: boolean) => string | null | void;