예제 #1
0
 async def mv(self, bundle_id: str, src_paths: List[str],
              dest_path: str) -> None:
     async with self.get_stub() as stub:
         await stub.mv(
             MvRequest(bundle_id=bundle_id,
                       src_paths=src_paths,
                       dst_path=dest_path))
예제 #2
0
파일: client.py 프로젝트: iqqmuT/idb
 async def mv(self, container: FileContainer, src_paths: List[str],
              dest_path: str) -> None:
     await self.stub.mv(
         MvRequest(
             src_paths=src_paths,
             dst_path=dest_path,
             container=file_container_to_grpc(container),
         ))
예제 #3
0
async def client(client: CompanionClient, bundle_id: str, src_paths: List[str],
                 dest_path: str) -> None:
    await client.stub.mv(
        MvRequest(bundle_id=bundle_id, src_paths=src_paths,
                  dst_path=dest_path))