cpp/filesystem/directory entry/assign

Assigns new content to the directory entry object. Sets the path to and calls  to update the cached attributes. If an error occurs, the values of the cached attributes are unspecified.

This function does not commit any changes to the filesystem.

Return value
(none)