<commit_before>;;; reinstall -*- lexical-binding: t -*-

;;; Code:

(require 'cl-lib)
(require 'glof)

(require 'hoarder-source-github "hoarder/source/github")
(require 'hoarder-source-git "hoarder/source/git")
(require 'hoarder-package "hoarder/package")
(require 'hoarder-util "hoarder/util")

(cl-defun hoarder:reinstall-package (package)
  (hoarder:uninstall-package package)
  (hoarder:install-package package))

;;;###autoload
(cl-defun hoarder:reinstall ()
  (interactive)
  (hoarder:message "package reinstall start")
  (hoarder:reinstall-package)
  (hoarder:message "package reinstall finish"))

(provide 'hoarder-reinstall)

;;; reinstall.el ends here<commit_msg>* lisp/hoarder/command/reinstall.el: change to just delete files<commit_after>;;; reinstall -*- lexical-binding: t -*-

;;; Code:

(require 'cl-lib)
(require 'glof)

(require 'hoarder-source-github "hoarder/source/github")
(require 'hoarder-source-git "hoarder/source/git")
(require 'hoarder-package "hoarder/package")
(require 'hoarder-util "hoarder/util")

(cl-defun hoarder:reinstall-package (package)
  (hoarder:delete-package-files package)
  (hoarder:install-package package))

;;;###autoload
(cl-defun hoarder:reinstall ()
  (interactive)
  (hoarder:message "package reinstall start")
  (hoarder:reinstall-package)
  (hoarder:message "package reinstall finish"))

(provide 'hoarder-reinstall)

;;; reinstall.el ends here
{'fraction_non_alphanumeric': 0.15928571428571428, 'fraction_numerical': 0.0, 'mean_word_length': 5.935643564356436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4917930', 'n_tokens_mistral': 519, 'n_tokens_neox': 514, 'n_words': 97}