Skip to content
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

[27.x backport] pkg/system: deprecate types and functions that are only used internally #49100

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

thaJeztah
Copy link
Member

These types and functions are only used internally (through pkg/archive). Deprecate them, and mark them for removal.

This deprecates the Lstat(), Mkdev(), Mknod(), FromStatT() and Stat() functions, and related StatT type.

- What I did

- How I did it

- How to verify it

- Description for the changelog

pkg/system: deprecate `Lstat()`, `Mkdev()`, `Mknod()`, `FromStatT()` and `Stat()` functions, and related `StatT` types. These were only used internally, and will be removed in the next release.

- A picture of a cute animal (not mandatory but encouraged)

These types and functions are only used internally (through pkg/archive).
Deprecate them, and mark them for removal.

This deprecates the `Lstat()`, `Mkdev()`, `Mknod()`, `FromStatT()`
and `Stat()` functions, and related `StatT` type.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit f0ce367)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added status/2-code-review area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Dec 16, 2024
@thaJeztah thaJeztah added this to the 27.4.1 milestone Dec 16, 2024
@thaJeztah thaJeztah self-assigned this Dec 16, 2024
@thaJeztah thaJeztah marked this pull request as ready for review December 16, 2024 15:05
@thaJeztah thaJeztah merged commit 2a62319 into moby:27.x Dec 16, 2024
143 checks passed
@thaJeztah thaJeztah deleted the 27.x_backport_deprecate_pkg_system branch December 16, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/go-sdk Changes affecting the Go SDK impact/go-sdk Noteworthy (compatibility changes) in the Go SDK status/2-code-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants