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

Export processFile function #48

Closed
wants to merge 1 commit into from
Closed

Export processFile function #48

wants to merge 1 commit into from

Conversation

rzhade3
Copy link

@rzhade3 rzhade3 commented Aug 30, 2022

This PR exports the processFile method, to allow it to be called programmatically from other Golang programs.

This function has useful functionality to run xz on file objects. As such, it'd be helpful to export it to allow it to be called from outside the scope of this program.

@ulikunitz
Copy link
Owner

The function processFile is part of a main package for the gxz tool. It is not possible to import functions from a main package.

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