Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: include/core/SkOSFile.h

Issue 384903002: Add file access modes to sk_exists. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/ports/SkOSFile_stdio.cpp » ('j') | src/ports/SkOSFile_stdio.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkOSFile.h
diff --git a/include/core/SkOSFile.h b/include/core/SkOSFile.h
index c9fa37ad164c1e46e05d9dd073b3435d33313c3a..9cec5a583d51c5e3644830d84bf7548aee7cfed9 100644
--- a/include/core/SkOSFile.h
+++ b/include/core/SkOSFile.h
@@ -78,7 +78,7 @@ bool sk_fidentical(SkFILE* a, SkFILE* b);
int sk_fileno(SkFILE* f);
// Returns true if something (file, directory, ???) exists at this path.
mtklein 2014/07/10 21:03:30 // If flags is set, only return true if that somet
bungeman-skia 2014/07/10 21:50:06 Done.
-bool sk_exists(const char *path);
+bool sk_exists(const char *path, SkFILE_Flags = (SkFILE_Flags)0);
// Returns true if a directory exists at this path.
bool sk_isdir(const char *path);
« no previous file with comments | « no previous file | src/ports/SkOSFile_stdio.cpp » ('j') | src/ports/SkOSFile_stdio.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698