Lines Matching refs:local_file
41 local_file=None, argument
137 if local_file:
138 payload_hash = salt.utils.hashutils.get_hash(local_file, form="sha256")
172 if local_file:
174 fh = salt.utils.files.fopen(local_file, "rb")
186 elif method == "GET" and local_file and not return_bin:
232 if local_file:
235 local_file, path, err_code, err_msg
242 if local_file:
243 log.debug("Uploaded from %s to %s", local_file, path)
267 if local_file and method == "GET":
273 log.debug("Saving to local file: %s", local_file)
274 with salt.utils.files.fopen(local_file, "wb") as out:
277 return "Saved to local file: {}".format(local_file)