Conversation
There are getters for the first 2, the latter is only meant to be used internally.
- Rename to copyFile - Drop the flags and implement the sensible behavior
- exepath -> exePath - mkdir -> makeDir - homedir -> homeDir - mkdtemp -> makeTempDir - mkstemp -> makeTempFile - readdir -> readDir - realpath -> realPath - tmpdir -> tmpDir
We can do it in C now.
Also adjust the returned key names.
Also fix copying keys from core to the tjs global. We want to copy the descriptors, just in case there is a property, like here, so we copy the descriptor, not the value.
|
@KaruroChori Please take a look! Thank you for making me think about this again. There was certaily a bunch of stuff that was easily actionable. Now on to the next steps. I do think some namespacing can be done!
There are some items that seem to belong somewhat together, but I can't quite put my finger on it: platform / what's in uname / uptime / loadavg / memory-info? Last, some other random thoughts:
|
|
That's great, I think this greatly improves the library. I will need a bit to check its details but overall it looks good.
All this was stuffed in Your
I agree too |
Sweet. I'll likely merge this and continue with the next steps and refine as we go.
I think thay makes sense. The current |
No description provided.