setOwner


Description:

public static Result<bool,Error> setOwner (Path path, string owner)

Sets owner by user name.

Parameters:

path

target path.

owner

owner name.

Returns:

Result.ok(true) on success, or Result.error(FilesystemError.*) on failure.