android: fs: Fix Exists / IsFile for SAF.
This commit is contained in:
parent
3c217a5574
commit
5384fa4998
4 changed files with 54 additions and 1 deletions
|
@ -12,7 +12,10 @@
|
|||
"openContentUri", "(Ljava/lang/String;Ljava/lang/String;)I")
|
||||
|
||||
#define ANDROID_SINGLE_PATH_DETERMINE_FUNCTIONS(V) \
|
||||
V(GetSize, std::uint64_t, get_size, CallStaticLongMethod, "getSize", "(Ljava/lang/String;)J")
|
||||
V(GetSize, std::uint64_t, get_size, CallStaticLongMethod, "getSize", "(Ljava/lang/String;)J") \
|
||||
V(IsDirectory, bool, is_directory, CallStaticBooleanMethod, "isDirectory", \
|
||||
"(Ljava/lang/String;)Z") \
|
||||
V(Exists, bool, file_exists, CallStaticBooleanMethod, "exists", "(Ljava/lang/String;)Z")
|
||||
|
||||
namespace Common::FS::Android {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue