MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / toFinalPath

Method toFinalPath

android/src/DownloadUtil.java:109–113  ·  view source on GitHub ↗
(String tmpPath)

Source from the content-addressed store, hash-verified

107 }
108
109 static String toFinalPath(String tmpPath) {
110 final File file = new File(tmpPath);
111 final String name = file.getName();
112 return Uri.decode(name);
113 }
114
115 File toTmpFile(String finalPath) {
116 return new File(downloadDirectory, Uri.encode(finalPath));

Callers 2

enumerateMethod · 0.95
checkCompleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected