MCPcopy Create free account
hub / github.com/M66B/FairEmail / write

Method write

app/src/main/java/eu/faircode/email/DebugHelper.java:2132–2136  ·  view source on GitHub ↗
(OutputStream os, String text)

Source from the content-addressed store, hash-verified

2130 }
2131
2132 private static int write(OutputStream os, String text) throws IOException {
2133 byte[] bytes = text.getBytes();
2134 os.write(bytes); // TODO CASA system info
2135 return bytes.length;
2136 }
2137
2138 static void writeCrashLog(Context context, Throwable ex) {
2139 File file = new File(context.getFilesDir(), CRASH_LOG_NAME);

Callers 9

attachSettingsMethod · 0.95
attachAccountsMethod · 0.95
attachNetworkInfoMethod · 0.95
attachLogMethod · 0.95
attachOperationsMethod · 0.95
attachTasksMethod · 0.95
attachEnvironmentMethod · 0.95
writeCrashLogMethod · 0.45

Calls 1

getBytesMethod · 0.45

Tested by

no test coverage detected