def _extract_subpath(self, path): """Takes the file path and returns subpath relative to the project. Assumes the given path is under Project.path. """ return extract_subpath(path, self.path)
def _extract_point_of_entry_subpath(self, path): """Takes the file path and returns subpath relative to the points of entry path. Assumes the given path is under points of entry path. """ return extract_subpath(path, self.get_points_of_entry_path())