MCPcopy Create free account
hub / github.com/ScattrdBlade/bigFileUpload / isValidHttpsUrl

Function isValidHttpsUrl

native.ts:453–460  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

451}
452
453function isValidHttpsUrl(url: string): boolean {
454 try {
455 const parsed = new URL(url);
456 return parsed.protocol === "https:";
457 } catch {
458 return false;
459 }
460}
461
462export async function uploadToWebdav(
463 _: IpcMainInvokeEvent,

Callers 3

uploadToWebdavFunction · 0.85
createWebdavShareFunction · 0.85
fetchFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected