ganeshrvel / go-mtpx

A high-level wrapper around the go-mtpfs library, forming the core of OpenMTP. It provides an MTP layer built on go-mtpfs and utilizes low-level system calls.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

A high-level wrapper around the go-mtpfs library, forming the core of OpenMTP. It provides an MTP layer built on go-mtpfs and utilizes low-level system calls.


Languages

Language:Go 99.9%Language:Shell 0.1%