(self, filenames, window, new_view)
return False
If reuse view is turned on and the only item is a directory, refresh the existing view
If reuse view is turned on and the only item is a directory, refresh the existing view
If reuse view is turned on and the only item is a directory refresh the existing view
def goto_directory(self, filenames, window, new_view):
        '''If reuse view is turned on and the only item is a directory, refresh the existing view'''
        if new_view and reuse_view():
            return False
        fqn = filenames[0]
        if len(filenames) == 1 and isdir(fqn):
            show(self.view.window(), fqn, view_id=self.view.id())
            return True
        elif fqn == PARENT_SYM:
            self.view.window().run_command("dired_up")
            return True
        return False
def goto_directory ( self , filenames , window , new_view ) : if new_view and reuse_view ( ) : return False fqn = filenames [ 0 ] if len ( filenames ) == 1 and isdir ( fqn ) : show ( self . view . window ( ) , fqn , view_id = self . view . id ( ) ) return True elif fqn == PARENT_SYM : self . view . window ( ) . run_command ( "dired_up" ) return True return False