Skip to content

Add OpenReader to local store#5140

Merged
dmcgowan merged 1 commit intocontainerd:masterfrom
mxpv:reader
Mar 8, 2021
Merged

Add OpenReader to local store#5140
dmcgowan merged 1 commit intocontainerd:masterfrom
mxpv:reader

Conversation

@mxpv
Copy link
Copy Markdown
Member

@mxpv mxpv commented Mar 8, 2021

Add OpenReaderfunc to create ReaderAt interface from a file system path to simplify local store hacking.
This doesn't change any logic, just makes existing code more reusable.

Signed-off-by: Maksym Pavlenko [email protected]

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Mar 8, 2021

Build succeeded.

Comment thread content/local/readerat.go Outdated
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.

Odd that the linter didn't complain about the lack of documentation comment

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Mar 8, 2021

Build succeeded.

Copy link
Copy Markdown
Member

@dmcgowan dmcgowan left a comment

Choose a reason for hiding this comment

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

LGTM

@dmcgowan dmcgowan merged commit f6a07f4 into containerd:master Mar 8, 2021
@mxpv mxpv deleted the reader branch March 24, 2021 17:18
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