Home | History | Annotate | Download | only in files

Lines Matching refs:actions

126 # Actions
259 actions = []
262 actions += self._ActionForPath(
265 actions += self._ActionForPath(
275 actions.append(Remove(entries_file, dangerous=True))
277 actions.sort()
280 for action in actions:
285 if any(a.dangerous for a in actions):
286 logging.warn('Dangerous actions:')
287 for action in (a for a in actions if a.dangerous):
322 for action in actions:
352 """Create zero or more Actions to link to a file or directory.
393 actions = []
397 actions.append(Remove(link_path, dangerous=False))
399 actions.append(Remove(link_path, dangerous=True))
401 actions.append(Rmtree(link_path))
410 actions.append(Makedirs(target_parent_dirs))
412 actions.append(Symlink(source_path, link_path))
414 return actions