This project patches the classical file type detecting command line tool file
via ios_system, for it to work in iVim on iOS.
The main source code of this project is file-74.0.2.tar.gz
, obtained from Apple Open Source: https://opensource.apple.com/tarballs/file/
Please read its README for details.
- it depends on the framework
ios_system.framework
but it is not included in this repository. You may need to get it from theios_system
project; - you can find all the modifications in the code by searching for
FEAT_IOS
; - the
file
commmand needs magic definition files (as in the dirMagdir
) to work properly, you need to make them availbale in your project by setting the environment variableMAGIC
.
If you find any problems or make any improvement based on this project, please do the pull request.