Skip to content

Conversation

@silmoonsone
Copy link

补充ObjectId类型的GenerateNewId、Parse、TryParse常用方法。

@silmoonsone silmoonsone reopened this May 23, 2025
@silmoonsone
Copy link
Author

Is the LiteDB project currently unmaintained?

{
if (bytes == null) throw new ArgumentNullException(nameof(bytes));

this.Timestamp =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid unnecessary changes

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the formatting behavior of the Visual Studio C# code editor, not a change I made.

Copy link
Collaborator

@JKamsker JKamsker Sep 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @silmoonsone,

You made the commit - Git doesn’t distinguish whether a change was “intentional” or triggered by your editor. Whatever is staged ends up in your commit. That’s why it’s important to review staged changes before committing.

Some references:

TL;DR: Even if Visual Studio auto-formats code, those edits only end up in the repo because they were staged and committed. It’s your responsibility to check what’s staged (e.g. with git diff --cached) before making the commit.

@JKamsker
Copy link
Collaborator

Please add unit tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants