Returns a PBXFileReference corresponding to path in the correct group according to RootGroupForPath's heuristics. If an existing PBXFileReference for path exists, it will be returned. Otherwise, one will be created and returned.
(self, path)
| 2862 | return (self.SourceGroup(), True) |
| 2863 | |
| 2864 | def AddOrGetFileInRootGroup(self, path): |
| 2865 | """Returns a PBXFileReference corresponding to path in the correct group |
| 2866 | according to RootGroupForPath's heuristics. |
| 2867 | |
| 2868 | If an existing PBXFileReference for path exists, it will be returned. |
| 2869 | Otherwise, one will be created and returned. |
| 2870 | """ |
| 2871 | |
| 2872 | (group, hierarchical) = self.RootGroupForPath(path) |
| 2873 | return group.AddOrGetFileByPath(path, hierarchical) |
| 2874 | |
| 2875 | def RootGroupsTakeOverOnlyChildren(self, recurse=False): |
| 2876 | """Calls TakeOverOnlyChild for all groups in the main group.""" |
no test coverage detected