MCPcopy Create free account
hub / github.com/ReadyTalk/avian / Java_java_io_File_exists

Function Java_java_io_File_exists

classpath/java-io.cpp:549–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549extern "C" JNIEXPORT jboolean JNICALL
550 Java_java_io_File_exists(JNIEnv* e, jclass, jstring path)
551{
552 string_t chars = getChars(e, path);
553 if (chars) {
554 bool v = exists(chars);
555 releaseChars(e, path, chars);
556 return v;
557 } else {
558 return false;
559 }
560}
561
562extern "C" JNIEXPORT jlong JNICALL
563 Java_java_io_File_lastModified(JNIEnv* e, jclass, jstring path)

Callers

nothing calls this directly

Calls 3

getCharsFunction · 0.85
existsFunction · 0.85
releaseCharsFunction · 0.85

Tested by

no test coverage detected