Lines Matching refs:actions
147 # Actions
280 actions = []
283 actions += self._ActionForPath(
286 actions += self._ActionForPath(
296 actions.append(Remove(entries_file, dangerous=True))
298 actions.sort()
301 for action in actions:
306 if any(a.dangerous for a in actions):
307 logging.warn('Dangerous actions:')
308 for action in (a for a in actions if a.dangerous):
343 for action in actions:
373 """Create zero or more Actions to link to a file or directory.
414 actions = []
418 actions.append(Remove(link_path, dangerous=False))
420 actions.append(Remove(link_path, dangerous=True))
422 actions.append(Rmtree(link_path))
431 actions.append(Makedirs(target_parent_dirs))
433 actions.append(Symlink(source_path, link_path))
435 return actions