codn_ts
Version:
智能代码分析工具 - 支持语义搜索、调用链分析和代码结构可视化,对大模型/AI agent 友好
13 lines (12 loc) • 448 B
TypeScript
/**
* Converts a file path to a proper file URI for cross-platform compatibility
* @param p - The file path to convert
* @returns A properly formatted file URI
*/
export declare function toFileUri(p: string): string;
/**
* Converts a file URI back to a file path for cross-platform compatibility
* @param uri - The file URI to convert
* @returns A properly formatted file path
*/
export declare function fileUriToPath(uri: string): string;