H
H
hellsmenser2022-02-25 10:15:28
git
hellsmenser, 2022-02-25 10:15:28

How to programmatically remove pack-*.idx created by git?

I'm trying to delete the .git directory using C#, but on pack-*.idx files I get an error about lack of rights

UnauthorizedAccessException Access denied for path 'pack-*.idx'.

The application has a manifest, the program runs as administrator, this repository that I'm trying to delete is also created earlier programmatically using libgit2sharp

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question