-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git FileSystem #33
Comments
Myself no, but a PR is welcome or a separate project with its own NuGet if you want to keep a control on it. 😉 If you want to make a PR, this should be a separate project/NuGet as we should not introduce a dependency to LibGit2Sharp or similar to the core library. |
Hi @xoofx, I've already created a .NET Standard 2.0 DLL Project (Zio.GitFileSystem). Is this name okay? The GitFileSystem should be read-only in the first implementation like the ReadOnlyFileSystem. My first thought was that the GitFileSystem provides six constructors:
What do you think? |
Yes
Hm, I think that an explicit model is better (so create a GitFileSystem per commit/branch) and that the current commit/branch is immutable in a GitFileSystem. That's a start, we can reconsider this later based on usages.
Yep, that's a good start 👍 |
Okay 🙂 |
Hi 🙂 Can you please take a look if this implementation is going in the right direction. Everything should work except from the "Metadata API" what should these methods return?
What do you think? The "Watch API" is currently disabled. But a if the GitFileSystem was initialized with a branch files could changing. I must look for a hook to get notified by Libgit2Sharp when a new commit was added to the branch. For testing I've already created a project. But I've never done such tests 😓 Could you help me with this? |
I checked the code, wondering why do you need to use a constructor that takes a IFileSystem and a subpath instead of initializing directly with a Repository object? Using for example On the other hand, is there a way in LibGit2Sharp to plug its backend to our own IFileSystem? (Afair, you can do this with the native |
@danielang Were you planning on creating a pull request for your gfs? |
Hey @LimpingNinja |
Hi @xoofx,
do you already have any plans for the Git FileSystem?
I am currently working on a project which require this capability. We already using ZIO and the project will benefit from this feature.
Perhapse we can collaborate to improve ZIO with a Git FileSystem.
Thank you for your awesome library!
The text was updated successfully, but these errors were encountered: