跳到主要内容

get_relative_path

获取起始路径到目标路径的相对路径

声明

string get_relative_path(string to, string from)

参数

参数名描述
to目标路径
from起始路径

返回值

相对路径

使用方式

返回文档