Skip to content

Comments

Add a public initialiser for NKFile#143

Merged
i2h3 merged 2 commits intomainfrom
feature/public-nkfile-init
May 26, 2025
Merged

Add a public initialiser for NKFile#143
i2h3 merged 2 commits intomainfrom
feature/public-nkfile-init

Conversation

@claucambra
Copy link
Contributor

Also needed for mocking in NCFPK

@claucambra claucambra self-assigned this May 19, 2025
Copy link
Collaborator

@i2h3 i2h3 left a comment

Choose a reason for hiding this comment

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

I would remove the default values from the property declarations, though. Then there is no ambiguity or confusion when reading the code from where a default value originates and it is cleaner.

@claucambra
Copy link
Contributor Author

I would remove the default values from the property declarations, though. Then there is no ambiguity or confusion when reading the code from where a default value originates and it is cleaner.

Good point, I added a commit removing the default property values

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
@tobiasKaminsky tobiasKaminsky force-pushed the feature/public-nkfile-init branch from a29c524 to 7118a89 Compare May 26, 2025 07:29
@i2h3 i2h3 enabled auto-merge (rebase) May 26, 2025 07:31
@i2h3 i2h3 merged commit 8ac6704 into main May 26, 2025
4 checks passed
@i2h3 i2h3 deleted the feature/public-nkfile-init branch May 26, 2025 07:41
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