def new(self, base: pathlib.PurePath = pathlib.PurePath(),
            include_intermediates: bool = True) -> Iterator[str]:
        """
        Find the list of new paths in this comparison.

        :param base: The base directory to prepend to the right entity's name.
        :param include_intermediates: Whether to include new non-empty
                                      directories in the returned iterable. If
                                      you only care about files, or are using
                                      flat key-based storage system like S3
                                      where directories are a made-up concept,
                                      this can be set to false.
        :return: An iterator of the new paths.
        """
        if self.is_new:
            yield str(base / self.right.name)
def new ( self , base : pathlib . PurePath = pathlib . PurePath ( ) , include_intermediates : bool = True ) -> Iterator [ str ] : if self . is_new : yield str ( base / self . right . name )
Find the list of new paths in this comparison.

        :param base: The base directory to prepend to the right entity's name.
        :param include_intermediates: Whether to include new non-empty
                                      directories in the returned iterable. If
                                      you only care about files, or are using
                                      flat key-based storage system like S3
                                      where directories are a made-up concept,
                                      this can be set to false.
        :return: An iterator of the new paths.