code: def clean_slug_dir(root):
      
      if not root.endswith('/'):
          root += '/'
      for pattern in get_slugignores(root):
          print("pattern", pattern)
          remove_pattern(root, pattern)
docs: Given a path, delete anything specified in .slugignore.