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

split exported functions from implementation #41

Merged
merged 4 commits into from
May 2, 2023

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Apr 30, 2023

Put the exported functions in a non-platform-specific file, and
un-export the implementations. This allows us to maintain the
GoDoc for exported functions in a single place (not having to
repeat those), and make sure that the signatures between platforms
are identical (unless not possible).

@thaJeztah thaJeztah force-pushed the split_implementations branch 2 times, most recently from fcf5dfd to c4f1041 Compare April 30, 2023 22:07
@thaJeztah
Copy link
Member Author

This one's best reviewed commit-by-commit (as some files are renamed / moved)

@thaJeztah thaJeztah marked this pull request as ready for review April 30, 2023 22:37
@thaJeztah thaJeztah force-pushed the split_implementations branch 3 times, most recently from 0d8209e to 0591815 Compare May 2, 2023 08:55
Aligning functions to be in the same files for each platform.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Put the exported functions in a non-platform-specific file, and
un-export the implementations. This allows us to maintain the
GoDoc for exported functions in a single place (not having to
repeat those), and make sure that the signatures between platforms
are identical (unless not possible).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

@rumpl doh! had one minor change stashed, and forgot to push 🙈 just did; PTAL; https://github.com/moby/term/compare/a97a5788274f401b12126432d8c4c4ee3b677a0c..bb04910d7c2ef73ab41c05aa452f86b6ac1ae7b4

@thaJeztah
Copy link
Member Author

CI is still happy; bringing this one in 👍

@thaJeztah thaJeztah merged commit 9c3c875 into moby:master May 2, 2023
11 checks passed
@thaJeztah thaJeztah deleted the split_implementations branch May 2, 2023 11:56
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.

None yet

2 participants