aboutsummaryrefslogtreecommitdiff
path: root/src/os/fs.c
diff options
context:
space:
mode:
authorStefan Hoffmann <stefan991@gmail.com>2014-04-01 20:44:20 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-03 10:30:03 -0300
commitdb92e0b0945fc71ebd6c4620836c3a8d900443f4 (patch)
tree66e1cb526e0368970db5e65c9efd28dda418b1f9 /src/os/fs.c
parentfa2b327e9ac5f9554781960a5bb613840d95cafc (diff)
downloadrneovim-db92e0b0945fc71ebd6c4620836c3a8d900443f4.tar.gz
rneovim-db92e0b0945fc71ebd6c4620836c3a8d900443f4.tar.bz2
rneovim-db92e0b0945fc71ebd6c4620836c3a8d900443f4.zip
added doxygen documentation for os_file_is_{readonly, writable}
Diffstat (limited to 'src/os/fs.c')
-rw-r--r--src/os/fs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/os/fs.c b/src/os/fs.c
index fdf9d0795e..84e31502ab 100644
--- a/src/os/fs.c
+++ b/src/os/fs.c
@@ -278,7 +278,6 @@ int os_file_exists(const char_u *name)
}
}
-// return TRUE if a file appears to be read-only from the file permissions.
int os_file_is_readonly(const char *name)
{
if (access(name, W_OK) == 0) {
@@ -288,8 +287,6 @@ int os_file_is_readonly(const char *name)
}
}
-// return 0 for not writable, 1 for writable file, 2 for a dir which we have
-// rights to write into.
int os_file_is_writable(const char *name)
{
if (access(name, W_OK) == 0) {