@@ -80,6 +80,12 @@ export interface CatOptions extends AbortOptions, ProgressOptions<GetEvents> {
80
80
* An optional path to allow reading files inside directories
81
81
*/
82
82
path ?: string
83
+
84
+ /**
85
+ * If true, do not perform any network operations and throw if blocks are
86
+ * missing from the local store. (default: false)
87
+ */
88
+ offline ?: boolean
83
89
}
84
90
85
91
/**
@@ -102,6 +108,12 @@ export interface ChmodOptions extends AbortOptions, ProgressOptions<GetEvents |
102
108
* smaller than this value will be regular UnixFS directories.
103
109
*/
104
110
shardSplitThresholdBytes : number
111
+
112
+ /**
113
+ * If true, do not perform any network operations and throw if blocks are
114
+ * missing from the local store. (default: false)
115
+ */
116
+ offline ?: boolean
105
117
}
106
118
107
119
/**
@@ -118,6 +130,12 @@ export interface CpOptions extends AbortOptions, ProgressOptions<GetEvents | Put
118
130
* smaller than this value will be regular UnixFS directories.
119
131
*/
120
132
shardSplitThresholdBytes : number
133
+
134
+ /**
135
+ * If true, do not perform any network operations and throw if blocks are
136
+ * missing from the local store. (default: false)
137
+ */
138
+ offline ?: boolean
121
139
}
122
140
123
141
/**
@@ -139,6 +157,12 @@ export interface LsOptions extends AbortOptions, ProgressOptions<GetEvents> {
139
157
* Stop reading the directory contents after this many directory entries
140
158
*/
141
159
length ?: number
160
+
161
+ /**
162
+ * If true, do not perform any network operations and throw if blocks are
163
+ * missing from the local store. (default: false)
164
+ */
165
+ offline ?: boolean
142
166
}
143
167
144
168
/**
@@ -171,6 +195,12 @@ export interface MkdirOptions extends AbortOptions, ProgressOptions<GetEvents |
171
195
* smaller than this value will be regular UnixFS directories.
172
196
*/
173
197
shardSplitThresholdBytes : number
198
+
199
+ /**
200
+ * If true, do not perform any network operations and throw if blocks are
201
+ * missing from the local store. (default: false)
202
+ */
203
+ offline ?: boolean
174
204
}
175
205
176
206
/**
@@ -182,6 +212,12 @@ export interface RmOptions extends AbortOptions, ProgressOptions<GetEvents | Put
182
212
* smaller than this value will be regular UnixFS directories.
183
213
*/
184
214
shardSplitThresholdBytes : number
215
+
216
+ /**
217
+ * If true, do not perform any network operations and throw if blocks are
218
+ * missing from the local store. (default: false)
219
+ */
220
+ offline ?: boolean
185
221
}
186
222
187
223
/**
@@ -192,6 +228,12 @@ export interface StatOptions extends AbortOptions, ProgressOptions<GetEvents> {
192
228
* An optional path to allow statting paths inside directories
193
229
*/
194
230
path ?: string
231
+
232
+ /**
233
+ * If true, do not perform any network operations and throw if blocks are
234
+ * missing from the local store. (default: false)
235
+ */
236
+ offline ?: boolean
195
237
}
196
238
197
239
/**
@@ -275,6 +317,12 @@ export interface TouchOptions extends AbortOptions, ProgressOptions<GetEvents |
275
317
* smaller than this value will be regular UnixFS directories.
276
318
*/
277
319
shardSplitThresholdBytes : number
320
+
321
+ /**
322
+ * If true, do not perform any network operations and throw if blocks are
323
+ * missing from the local store. (default: false)
324
+ */
325
+ offline ?: boolean
278
326
}
279
327
280
328
/**
0 commit comments