Commit graph

14 commits

Author SHA1 Message Date
Evrins Hu d49e5ad793 fix: mod path 2020-10-29 10:18:51 +08:00
Evrins Hu 11bff25cc8 fix: import path 2020-07-13 14:31:19 +08:00
Evrins Hu 5532b49f7e migrate to go mod 2020-07-13 14:18:10 +08:00
Zach Klippenstein 701ea3a245 Moved error definitions to an internal package, deleted the confusing util package.
Public API for error querying and formatting lives in top-level package.
2016-05-22 10:49:34 -07:00
Zach Klippenstein b43886affb Renamed: HostClient -> Adb, DeviceClient -> Device, Server -> server. 2016-05-21 22:33:20 -07:00
Zach Klippenstein b7039f514b [cmd/adb] Formatted flag definitions. 2016-05-07 18:41:49 -07:00
Zach Klippenstein 5fb43080b6 Renamed top-level package from goadb to just adb. 2016-01-15 07:54:27 -08:00
Zach Klippenstein 9f7d11a3bc Refactored ClientConfig into a Server interface.
* StartServer is now a method on Server.
* What used to be Dialer.Dial is now Server.Dial.
* Server.Dial handles trying to start the server if the initial connection fails.
* Dialer now dials a network address.
* All types that took a Dialer now take a Server.
* Server now has tests!
2016-01-10 14:01:58 -08:00
Zach Klippenstein 3e1d948164 [cmd/adb] Support pulling/pushing from stdin and to stdout. 2015-12-29 13:25:17 -08:00
Zach Klippenstein 340dcab2df Implemented sync file send and cmd/adb push command. 2015-12-28 19:59:07 -08:00
Zach Klippenstein cb7e06bdb9 OpenRead will now return an error if the server returns an error when trying to open a file.
All sync status reads now also check for failure status,
using the same logic as the normal Scanner (the only difference
being that for normal scanners, length is encoded as a hex
string, but for sync scanners it's in binary little-endian).
2015-12-28 19:46:14 -08:00
Zach Klippenstein 2515c6d11a [cmd/adb] Implemented pull command. 2015-12-28 13:40:36 -08:00
Zach Klippenstein 64750956ff [cmd/adb] Make devices -l look more like the official command's output. 2015-12-27 17:37:26 -08:00
Zach Klippenstein f6d7b0b665 Started basic clone of the adb command. 2015-12-20 23:00:15 -08:00