Skip to content

Support for chown and chownSync #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

Narigo
Copy link
Member

@Narigo Narigo commented Jan 20, 2014

Using Option[String] instead of having parameters which are String with null values like Vert.x core.

Tests are only checking for errors as you might not be able to change ownership while running tests anyways. This was discussed with Norman in IRC - this is the same as Vert.x core testing right now.

@Narigo
Copy link
Member Author

Narigo commented Jan 20, 2014

@galderz please review and close #106 if you merge this.

@@ -124,6 +124,18 @@ final class FileSystem private[scala] (val asJava: JFileSystem) extends Self {
wrap(asJava.chmodSync(path, perms, dirPerms))

/**
* Change the ownership on the file represented by {@code path} to {@code user} and {code group}, asynchronously.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scaladoc please :)

Signed-off-by: Joern Bernhardt <joern.bernhardt@googlemail.com>
@Narigo
Copy link
Member Author

Narigo commented Jan 20, 2014

fixed scaladoc and serious copy and paste error

@galderz
Copy link
Contributor

galderz commented Jan 20, 2014

Fixed, I did a small modification on the Scaladoc

@galderz galderz closed this Jan 20, 2014
@galderz
Copy link
Contributor

galderz commented Jan 20, 2014

Fixes issue #106

@Narigo Narigo deleted the i106-chown branch January 23, 2014 14:11
@Narigo Narigo restored the i106-chown branch January 23, 2014 14:19
@Narigo Narigo deleted the i106-chown branch January 23, 2014 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants