Say we have two paths:
c:\foo\bar\baz
and c:\foo\bar
Is there any package/method that will help me determine if one is a subdirectory of another? I am looking at a cross-platform option.
Say we have two paths:
c:\foo\bar\baz
and c:\foo\bar
Is there any package/method that will help me determine if one is a subdirectory of another? I am looking at a cross-platform option.
假设我们有两个路径: p>
是否有任何软件包/方法可以帮助我确定是否为以下内容的子目录: 另一个? 我正在查看跨平台选项。 p>
div> c:\ foo \ bar \ baz code>和
c:\ foo \ bar code> p>