Home | History | Annotate | Download | only in devtools

Lines Matching refs:base_dir

7 def make_tarball(tarball_path, sources, base_dir, prefix_dir=''):
11 base_dir: if a source file is in a sub-directory of base_dir, then base_dir is stripped
16 base_dir = os.path.normpath( os.path.abspath( base_dir ) )
18 """Makes path relative to base_dir."""
20 common_path = os.path.commonprefix( (base_dir, path) )
44 def decompress( tarball_path, base_dir ):
45 """Decompress the gzipped tarball into directory base_dir.
51 tar.extractall( base_dir )