Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Revert doc change to AdbCommands.Push. #16

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions adb/adb_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,10 @@ def Install(self, apk_path, destination_dir=None, timeout_ms=None):
timeout_ms=timeout_ms)

def Push(self, source_file, device_filename, mtime='0', timeout_ms=None):
"""Push a file or directory to the device.
"""Push a file to the device.

Arguments:
source_file: Either a filename, a directory or file-like object to push to
the device.
source_file: Either a filename or file-like object to push to the device.
device_filename: The filename on the device to write to.
mtime: Optional, modification time to set on the file.
timeout_ms: Expected timeout for any part of the push.
Expand Down