Skip to content

sys: remove StatAtime(), StatCtime(), StatMtime() and StatATimeAsTime() utils#5639

Merged
fuweid merged 1 commit intocontainerd:mainfrom
thaJeztah:remove_sys_stat
Jun 22, 2021
Merged

sys: remove StatAtime(), StatCtime(), StatMtime() and StatATimeAsTime() utils#5639
fuweid merged 1 commit intocontainerd:mainfrom
thaJeztah:remove_sys_stat

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

follow-up to #5633

This removes the StatAtime(), StatCtime(), StatMtime() and StatATimeAsTime()
utilities from the sys package. These utilities are not currently used in the
containerd codebase, and a copy of these utilities can be found in
github.com/containerd/continuity/fs;

Given that the containerd/sys package is not designed for external consumption,
I'm not adding "deprecated" comments (or aliases to their new location).

…() utils

This removes the StatAtime(), StatCtime(), StatMtime() and StatATimeAsTime()
utilities from the sys package. These utilities are not currently used in the
containerd codebase, and a copy of these utilities can be found in
github.com/containerd/continuity/fs;

- https://github.com/containerd/continuity/blob/fa7d1622372f1a787bfe51d59183b598813ce9d9/fs/stat_darwinbsd.go
- https://github.com/containerd/continuity/blob/fa7d1622372f1a787bfe51d59183b598813ce9d9/fs/stat_linuxopenbsd.go

Given that the containerd/sys package is not designed for external consumption,
I'm not adding "deprecated" comments (or aliases to their new location).

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 22, 2021

Build succeeded.

@fuweid fuweid merged commit 0396089 into containerd:main Jun 22, 2021
@thaJeztah thaJeztah deleted the remove_sys_stat branch June 22, 2021 23:50
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.

3 participants