Skip to content

Comments

Windows: Volume path aware mkdirall#12718

Merged
estesp merged 1 commit intomoby:masterfrom
microsoft:10662-mkdirall
May 4, 2015
Merged

Windows: Volume path aware mkdirall#12718
estesp merged 1 commit intomoby:masterfrom
microsoft:10662-mkdirall

Conversation

@lowenna
Copy link
Member

@lowenna lowenna commented Apr 23, 2015

Signed-off-by: jhowardmsft [email protected]
@swernli

This PR is part of the proposal described in issue 10662 to port the docker daemon to Windows. It implements a volumepath aware version of mkdirall which is required for the Windows graph driver (for which the PR has not yet been submitted). Behaviour is unchanged on Linux.

Copy link
Contributor

Choose a reason for hiding this comment

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

Aren't we better off using raw string literals for this kind of things?

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point; I forgot to make that change. Updating to use literal.

Copy link
Contributor

Choose a reason for hiding this comment

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

godoc must start like // MkdirAll ...

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry - don't understand what the problem is.... ;)

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah. Updated.

@swernli swernli force-pushed the 10662-mkdirall branch 3 times, most recently from a5a354d to 99be6d7 Compare April 27, 2015 17:55
@lowenna
Copy link
Member Author

lowenna commented Apr 30, 2015

Rebased

Copy link
Contributor

Choose a reason for hiding this comment

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

you can put the regex in a private var to only compile it once.

@lowenna
Copy link
Member Author

lowenna commented May 1, 2015

2 - 0? Couldn't resist :)

@tiborvass
Copy link
Contributor

cheaters :P

LGTM

@estesp
Copy link
Contributor

estesp commented May 4, 2015

LGTM

estesp added a commit that referenced this pull request May 4, 2015
Windows: Volume path aware mkdirall
@estesp estesp merged commit 3fcf387 into moby:master May 4, 2015
@lowenna lowenna deleted the 10662-mkdirall branch May 7, 2015 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants