zach-klippenstein / goadb

A Golang library for interacting with adb.
Apache License 2.0
231 stars 107 forks source link

func (c *Device) Stat(path string) (*DirEntry, error) takes too long time #24

Closed BigWavelet closed 8 years ago

BigWavelet commented 8 years ago

Hi there, func (c _Device) Stat(path string) (_DirEntry, error), this function takes almost 2 seconds to stat a file on device. while it takes only serveral ms for "adb shell test -f xxx.x". Could this function be optimized?