filer icon indicating copy to clipboard operation
filer copied to clipboard

Implement lchown

Open humphd opened this issue 6 years ago • 4 comments

https://nodejs.org/api/fs.html#fs_fs_lchown_path_uid_gid_callback

humphd avatar Dec 11 '18 04:12 humphd

Could I try learning this and implementing it?

andrewkoung avatar Apr 03 '19 18:04 andrewkoung

@andrewkoung sure, let's discuss in class tomorrow.

humphd avatar Apr 05 '19 01:04 humphd

@humphd I had forgotten to ask this in class about context.getObject(). Let's say this line of code context.getObject(superNode.rnode, check_root_directory_node); fires, does it look through the key-value table using superNode.rnode as a key and passes the value into the method check_root_directory_node?

andrewkoung avatar Apr 06 '19 03:04 andrewkoung

@andrewkoung yes, that is exactly what it does. It basically means: "get the file node for the super-node, and once we have that file node object, pass it to the check_root_directory_node function callback".

humphd avatar Apr 07 '19 03:04 humphd