https://github.com/iwas-coder/trm
A transactional, atomic, reliable POSIX's rm command implementation written in C++. 🌀
https://github.com/iwas-coder/trm
atomic blockchain coreutils cpp hash hash-tree merkle-tree sha256 transactional
Last synced: 7 months ago
JSON representation
A transactional, atomic, reliable POSIX's rm command implementation written in C++. 🌀
- Host: GitHub
- URL: https://github.com/iwas-coder/trm
- Owner: iWas-Coder
- License: gpl-3.0
- Created: 2024-06-23T22:48:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-09T22:04:00.000Z (over 1 year ago)
- Last Synced: 2025-01-26T12:42:22.204Z (about 1 year ago)
- Topics: atomic, blockchain, coreutils, cpp, hash, hash-tree, merkle-tree, sha256, transactional
- Language: C++
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- Contributing: CONTRIBUTING.org
- License: COPYING
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
#
# GNU trm --- A transactional POSIX’s rm command
# Copyright (C) 2024 Wasym A. Alonso
#
# This file is part of trm.
#
# trm is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# trm is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with trm. If not, see .
#
#+AUTHOR: Wasym A. Alonso
# Logo & Title
#+begin_html
./trm
#+end_html
# Subtitle
#+begin_html
Transactional POSIX's rm command
#+end_html
# Repository marketing badges
#+begin_html
#+end_html
# Repository info badges
#+begin_html
#+end_html
(...)
# GNU GPLv3+ License notice
#+begin_quote
~trm~ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. @@html:
@@
~trm~ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@html:
@@
You should have received a copy of the GNU General Public License along with ~trm~. If not, see .
#+end_quote
* Table of Contents :toc:
- [[#usage][Usage]]
- [[#build-from-source][Build from source]]
* Usage
(...)
#+begin_example
$ ./trm
usage: ./trm [-dfiPRrv] file ...
./trm {--commit|--rollback[=1]}
#+end_example
(...)
* Build from source
First, ensure the source tree is absolutely clean. It's recommended this command to be issued prior to each compilation; do not rely on the source tree being clean after cloning the repository or after un-tarring:
#+begin_src sh
make mrproper
#+end_src
To build ~trm~, issue the following command:
#+begin_src sh
make
#+end_src