Lines Matching full:path
37 assert os.path.exists(exe)
65 def gset(path):
67 if os.path.isfile(path):
68 with open(path, 'r') as f:
79 path = ASSETS + '/gmkb/' + d
80 if os.path.isdir(path):
81 shutil.rmtree(path)
89 def get_digest(path):
91 with open(path, 'r') as f:
95 def upload_cmd(path, digest):
96 return ['gsutil', 'cp', path, 'gs://%s/%s' % (BUCKET, digest)]
106 path = os.path.join(dirpath, filename)
107 digest = get_digest(path)
109 cmds.append(upload_cmd(path, digest))
110 filelist.append('%s;%s\n' % (digest, os.path.relpath(path, ASSETS)))
126 if os.path.isdir(x) and not os.path.islink(x):
128 if os.path.exists(x):
134 os.chdir(os.path.dirname(__file__) + '/../..')