Checksums every file under the current directory.
Go to file
2023-07-02 15:20:13 +02:00
src Add new hashing algorithms 2023-07-02 15:20:13 +02:00
.editorconfig Major additons 2023-06-25 02:45:33 +02:00
.gitignore Add library 2023-06-25 21:12:42 +02:00
justfile Minor fixes 2023-06-25 16:48:43 +02:00
LICENSE Initial commit 2023-05-16 00:39:16 +02:00
README.md Add instructions for verbose output 2023-06-29 03:58:28 +02:00

chksum

Checksums every file under the current directory

Run Locally

Clone the project

git clone https://gitea.hopeless-cloud.xyz/ProfessionalUwU/chksum.git

Go to the project directory

cd chksum

Install dependencies

pacman -S dotnet-runtime dotnet-sdk

Build project

just build

Publish project

just publish

Go to the publish folder

cd src/Chksum/bin/Release/net7.0/linux-x64/publish

Run executable

./Chksum

Enabling verbose output for troubleshooting

  1. Open the file called chksum.cs with your editor of choice.
  2. At the top there will be the logger configuration which you can change. Should look like this.
private ILogger logger = new LoggerConfiguration()
            .MinimumLevel.Debug()
            .WriteTo.Console(restrictedToMinimumLevel: LogEventLevel.Error)
            .WriteTo.File("chksum.log")
            .CreateLogger();
  1. Change the minimum level of the logger to Verbose.
  2. Compile the program
  3. Profit. Now you will be able to see how what the program is doing in detail.