import { UTSiOS } from "DCloudUTSFoundation" import { URL, FileManager, NSData, Data } from 'Foundation'; import { UTTypeCreatePreferredIdentifierForTag, kUTTagClassFilenameExtension, UTTypeCopyPreferredTagWithClass, kUTTagClassMIMEType } from "MobileCoreServices" import { ProcessFileOptions, NullableString } from '../interface' import { Bool } from 'Swift'; export function getResourcePath(filePath : string) : string { let path = filePath; if (path.startsWith("http") || path.startsWith("