Skip to content

Conversation

@TrumanLing
Copy link

Signed-off-by: Ling FaKe [email protected]

If the file path is a directory, then the existing path just has it's attribute set from the layer changeset for that filepath.
If the file path is any other file type (regular file, FIFO, etc), then the:
If the file path is any other file type (regular file, FIFO, etc), then:
* file path is unlinked (See [`unlink(2)`](http://linux.die.net/man/2/unlink))
Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to removing “the”, but we should also rephrase this to an imperative:

unlink the file path (…)

But this section is getting overhauled in #317, so it may not be worth the trouble of fixing it here ;).

Copy link
Author

Choose a reason for hiding this comment

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

@wking I have removed modification you mentioned. PTAL.

@wking
Copy link
Contributor

wking commented Sep 18, 2016 via email

@TrumanLing
Copy link
Author

@wking thanks for you suggestion. It is OK. PTAL

@wking
Copy link
Contributor

wking commented Sep 19, 2016

Looks great, thanks :)

@vbatts
Copy link
Member

vbatts commented Sep 20, 2016

LGTM

Approved with PullApprove

1 similar comment
@philips
Copy link
Contributor

philips commented Sep 21, 2016

LGTM

Approved with PullApprove

@philips philips merged commit 4614863 into opencontainers:master Sep 21, 2016
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.

4 participants