sdbd-demo.git

git clone https://git.crispbyte.dev/sdbd-demo.git

commit
0b0d074
parent
3cc7d54
author
CheddarCrisp
date
2024-01-09 23:46:34 +0100 CET
Settings and final newlines
4 files changed,  +7, -3
A .vscode/settings.json
+4, -0
1@@ -0,0 +1,4 @@
2+{
3+    "editor.tabSize": 2,
4+    "files.insertFinalNewline": true
5+}
M SDBD.Contract/Document.cs
+1, -1
1@@ -3,4 +3,4 @@ namespace SDBD;
2 public record Document(
3     Dictionary<string, string> Metadata,
4     byte[] Data
5-);
6+);
M SDBD.Contract/ICodec.cs
+1, -1
1@@ -3,4 +3,4 @@
2 public interface ICodec {
3   Document Decode(byte[] data);
4   byte[] Encode(Document document);
5-}
6+}
M SDBD.Demo/Program.cs
+1, -1
1@@ -24,4 +24,4 @@ if(encode) {
2     ["-e", var filename] => (true, filename),
3     _ => throw new Exception("I don't like those arguments")
4   };
5-}
6+}