MCPcopy Create free account
hub / github.com/SeanDragon/protools / getOsPathType

Method getOsPathType

common/src/main/java/pro/tools/system/ToolOS.java:105–114  ·  view source on GitHub ↗

获取操作系统路径类型 @return

()

Source from the content-addressed store, hash-verified

103 * @return
104 */
105 public static String getOsPathType() {
106 String osPathType = FILE_SEPARATOR;
107 if ("\\".equals(osPathType)) {
108 return "\\\\";
109 }
110 if ("/".equals(osPathType)) {
111 return "/";
112 }
113 return null;
114 }
115
116 /**
117 * 获取操作系统类型名称

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected