增加获取当前文件系统路径分隔符的方法

This commit is contained in:
zhangdeman committed 2022-10-14 12:53:07 +08:00
1 parent f5086c77e0
commit 63f5b99d40
1 file changed
+10
+10
View File
@@ -28,3 +28,13 @@ func (p *project) GetExecutablePath() (string, error) {
}
return dir, nil
}
// GetFileSystemSeparator 获取当前文件系统的路径分隔符
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 12:51 2022/10/14
func (p *project) GetFileSystemSeparator() string {
return string(filepath.Separator)
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.