コード例 #1
0
ファイル: store.py プロジェクト: jmikedupont2/pythoscope
    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)
コード例 #2
0
ファイル: store.py プロジェクト: goulu/pythoscope
    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)
コード例 #3
0
ファイル: store.py プロジェクト: jmikedupont2/pythoscope
    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())
コード例 #4
0
ファイル: store.py プロジェクト: goulu/pythoscope
    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())