mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-15476 Code duplication eliminated and a minor refactoring
This commit is contained in:
@@ -749,6 +749,9 @@ public class PythonSdkType extends SdkType {
|
||||
return path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns skeletons location on the local machine. Independent of SDK credentials type (e.g. ssh, Vagrant, Docker or else).
|
||||
*/
|
||||
public static String getSkeletonsPath(String basePath, String sdkHome) {
|
||||
String sep = File.separator;
|
||||
return getSkeletonsRootPath(basePath) + sep + FileUtil.toSystemIndependentName(sdkHome).hashCode() + sep;
|
||||
|
||||
Reference in New Issue
Block a user