ulikunitz / xz

Pure golang package for reading and writing xz-compressed files
Other
477 stars 45 forks source link

Export processFile function #48

Closed rzhade3 closed 2 years ago

rzhade3 commented 2 years ago

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 commented 2 years ago

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