Return True if the Resource path exists in the codebase.
(self, resource)
| 807 | return [le.to_dict() for le in (self.headers or [])] |
| 808 | |
| 809 | def exists(self, resource): |
| 810 | """ |
| 811 | Return True if the Resource path exists in the codebase. |
| 812 | """ |
| 813 | return resource and resource.path in self.resources_by_path |
| 814 | |
| 815 | def _use_disk_cache_for_resource(self): |
| 816 | """ |
no outgoing calls