go-mtpx
go-mtpx copied to clipboard
MTP layer built over go-mtpfs
go-mtpx
macOS setup
xcode-select --install
Before running the tests:
- Open
tests/README.md
- Follow the instructions to copy the
mtp-test-files
to phone
Install and setup libusb
brew install pkg-config
brew install libusb
Test go-mtpx
- Connect android device via usb and Choose File transfer
go test
Upgrade a package
# example:
go get github.com/ganeshrvel/go-mtpfs@<git-commit-hash>