mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -821,10 +821,10 @@ int os_fchown(int fd, uv_uid_t owner, uv_gid_t group)
|
||||
/// Check if a path exists.
|
||||
///
|
||||
/// @return `true` if `path` exists
|
||||
bool os_path_exists(const char_u *path)
|
||||
bool os_path_exists(const char *path)
|
||||
{
|
||||
uv_stat_t statbuf;
|
||||
return os_stat((char *)path, &statbuf) == kLibuvSuccess;
|
||||
return os_stat(path, &statbuf) == kLibuvSuccess;
|
||||
}
|
||||
|
||||
/// Sets file access and modification times.
|
||||
|
Reference in New Issue
Block a user