Created
January 28, 2018 18:01
-
-
Save Hexagon/3e931ef130d0e2fe5efed7870599a8b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Stat the file using uv | |
uv_fs_t stat_req; | |
stat_req.data = this; | |
// Run stat, store result and call ready callback | |
uv_fs_stat(uv_default_loop(), &stat_req, (const char *)composite.c_str(), [](uv_fs_t* req) { | |
File* self = static_cast<File*>(req->data); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment