You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release 0.7.0. See release notes or expand full commit message for details.
[Breaking]
Fixed WebRTC-Direct support added in Kubo 0.30.0.
Removed the Object API completely, since Kubo replaced it with the DAG API and no longer offers it.
Refactored the FileSystem API to:
- Enable proper directory uploads via a new `AddAsync` method that takes File and Folder parts separately.
- Bring `FileAddOptions` fully up-to-date with modern Kubo.
- Remove `AddDirectoryAsync` (used missing Object API).
Updated several types to use one of int, long or ulong for Size matching the Kubo API.
[New]
Added IFilestoreApi and the corresponding types.
Added a new type `DagCid` that can be used to automatically create IPLD link references when serialized.
Added the IBlockStat type, analogous to the BlockStat struct in Kubo.
/// Add the file using filestore. Implies raw-leaves.
86
+
/// Defaults to 0 unless an option that depends on CIDv1 is passed.
87
+
/// Passing version 1 will cause the raw-leaves option to default to true.
88
+
/// Required: no.
102
89
/// </summary>
103
-
publicbool?NoCopy{get;set;}
90
+
publicint?CidVersion{get;set;}
104
91
105
-
/// <summary>
106
-
/// Check the filestore for pre-existing blocks.
92
+
/// <summary>
93
+
/// Inline small blocks into CIDs. (experimental). Required: no.
94
+
/// </summary>
95
+
publicbool?Inline{get;set;}
96
+
97
+
/// <summary>
98
+
/// Maximum block size to inline. (experimental). Default: 32. Required: no.
99
+
/// </summary>
100
+
publicint?InlineLimit{get;set;}
101
+
102
+
/// <summary>
103
+
/// Add reference to Files API (MFS) at the provided path. Required: no.
104
+
/// </summary>
105
+
publicstring?ToFiles{get;set;}
106
+
107
+
/// <summary>
108
+
/// Apply existing POSIX permissions to created UnixFS entries. Disables raw-leaves. (experimental). Required: no.
109
+
/// </summary>
110
+
publicbool?PreserveMode{get;set;}
111
+
112
+
/// <summary>
113
+
/// Apply existing POSIX modification time to created UnixFS entries. Disables raw-leaves. (experimental). Required: no.
114
+
/// </summary>
115
+
publicbool?PreserveMtime{get;set;}
116
+
117
+
/// <summary>
118
+
/// Custom POSIX file mode to store in created UnixFS entries. Disables raw-leaves. (experimental). Required: no.
119
+
/// </summary>
120
+
publicuint?Mode{get;set;}
121
+
122
+
/// <summary>
123
+
/// Custom POSIX modification time to store in created UnixFS entries (seconds before or after the Unix Epoch). Disables raw-leaves. (experimental). Required: no.
124
+
/// </summary>
125
+
publiclong?Mtime{get;set;}
126
+
127
+
/// <summary>
128
+
/// Custom POSIX modification time (optional time fraction in nanoseconds).
0 commit comments