Fenrir.Git 1.1.0

dotnet add package Fenrir.Git --version 1.1.0
                    
NuGet\Install-Package Fenrir.Git -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fenrir.Git" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fenrir.Git" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Fenrir.Git" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fenrir.Git --version 1.1.0
                    
#r "nuget: Fenrir.Git, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fenrir.Git@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fenrir.Git&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Fenrir.Git&version=1.1.0
                    
Install as a Cake Tool

Fenrir Status Ventis NuGet package

Fenrir is a .NET library to work with Git repositories. It provides functions to read Git objects, traverse the commit graph, extract trees and files from any commit, etc. Essentially, it provides tools to create your own Git client or transform a repository in any way.

Some of Fenrir's functions perform inline modifications of Git repositories and may destroy information and even commit history!

Always make sure to take a backup before using Fenrir on important data!

Usage

Fenrir is a .NET library, and thus you can install it into your program via NuGet. Visit the package's page on nuget.org, or install the Fenrir.Git library using your preferred .NET package management tool.

Read the API reference to know more of the usage patterns. While Fenrir is written in F#, it provides an API friendly to other .NET languages.

Fenrir also provides a terminal tool, Fenrir.Application, as a showcase of what is possible to do using the library. Download the application from the releases section, and see the separate documentation file on the application.

If you are looking for some usage examples, check the GitRepositoryModel.fs file, or see the API documentation.

Versioning Policy

This project's versioning follows the Semantic Versioning 2.0.0 specification. Only changes in the NuGet package are considered. The example application can change at any time.

Documentation

License

The project is distributed under the terms of the MIT license.

The license indication in the project's sources is compliant with the REUSE specification v3.3.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 885 11/5/2025
1.0.0 921 3/24/2025
0.2.0 267 3/16/2025
0.1.0 147 3/15/2025

[Fixed]

- #162: "Invalid hash" when traversing a repository (https://github.com/ForNeVeR/Fenrir/issues/162). This issue happened with repositories where multiple pack files are present.

[Changed]

- Updated the dependency versions.