equal
deleted
inserted
replaced
983 """Returns an object implementing the ``idirs`` interface.""" |
983 """Returns an object implementing the ``idirs`` interface.""" |
984 |
984 |
985 def hasdir(dir): |
985 def hasdir(dir): |
986 """Returns a bool indicating if a directory is in this manifest.""" |
986 """Returns a bool indicating if a directory is in this manifest.""" |
987 |
987 |
988 def matches(match): |
|
989 """Generate a new manifest filtered through a matcher. |
|
990 |
|
991 Returns an object conforming to the ``imanifestdict`` interface. |
|
992 """ |
|
993 |
|
994 def walk(match): |
988 def walk(match): |
995 """Generator of paths in manifest satisfying a matcher. |
989 """Generator of paths in manifest satisfying a matcher. |
996 |
|
997 This is equivalent to ``self.matches(match).iterkeys()`` except a new |
|
998 manifest object is not created. |
|
999 |
990 |
1000 If the matcher has explicit files listed and they don't exist in |
991 If the matcher has explicit files listed and they don't exist in |
1001 the manifest, ``match.bad()`` is called for each missing file. |
992 the manifest, ``match.bad()`` is called for each missing file. |
1002 """ |
993 """ |
1003 |
994 |