Flutter Engine
The Flutter Engine
third_party
skia
tools
infra
git.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
#
3
# Copyright 2019 Google Inc.
4
#
5
# Use of this source code is governed by a BSD-style license that can be
6
# found in the LICENSE file.
7
8
9
import
subprocess
10
import
sys
11
12
13
GIT =
'git.bat'
if
sys.platform ==
'win32'
else
'git'
14
15
16
def
git
(*args):
17
'''Run the given Git command, return the output.'''
18
return
subprocess.check_output([GIT]+list(args))
tools.infra.git.git
def git(*args)
Definition:
git.py:16
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4