MCPcopy
hub / github.com/Col-E/Recaf / getDirectory

Method getDirectory

src/main/java/me/coley/recaf/Recaf.java:181–195  ·  view source on GitHub ↗

@return Recaf's storage directory.

()

Source from the content-addressed store, hash-verified

179 * @return Recaf's storage directory.
180 */
181 public static Path getDirectory() {
182 Path configDir = Recaf.configDir;
183
184 if (OSUtil.getOSType() == OSUtil.WINDOWS) {
185 configDir = Paths.get(System.getenv("APPDATA"), "Recaf");
186 } else {
187 if (configDir == null) {
188 configDir = Recaf.configDir = Paths
189 .get(BaseDirectories.get().configDir)
190 .resolve("Recaf");
191 }
192 }
193
194 return configDir;
195 }
196
197 /**
198 * @param subfolder

Callers 11

ControllerClass · 0.95
getPluginDirMethod · 0.95
getMethod · 0.95
openPluginDirectoryMethod · 0.95
FontSliderClass · 0.95
FontComboBoxClass · 0.95
SysInfoPaneMethod · 0.95
CssThemeEditorPaneClass · 0.95
LogClass · 0.95
getLocalDependenciesMethod · 0.95

Calls 2

getOSTypeMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected