Skip to content

ocilayout: handle Windows paths in local OCI layout refs#3812

Merged
1 commit merged into
docker:masterfrom
crazy-max:ocilayout-win
Apr 24, 2026
Merged

ocilayout: handle Windows paths in local OCI layout refs#3812
1 commit merged into
docker:masterfrom
crazy-max:ocilayout-win

Conversation

@crazy-max
Copy link
Copy Markdown
Member

follow-up #3811 (comment)

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Comment thread util/ocilayout/parse.go
}

func isWindowsDrivePath(path string, colon int) bool {
if colon != 1 || len(path) < 2 {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is this really a safe way to detect this? I can have one character subdirs in unix.

@tonistiigi tonistiigi closed this pull request by merging all changes into docker:master in c960e4a Apr 24, 2026
@crazy-max crazy-max deleted the ocilayout-win branch April 24, 2026 19:44
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.

2 participants