We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 397931e commit 1ee93a1Copy full SHA for 1ee93a1
src/index.js
@@ -96,7 +96,7 @@ function Data (type, data) {
96
97
if (!isNaN(this.mtime)) {
98
mtime = {
99
- value: this.mtime,
+ seconds: this.mtime,
100
hrValue: []
101
}
102
@@ -130,7 +130,7 @@ Data.unmarshal = (marsheled) => {
130
131
132
if (decoded.mtime) {
133
- obj.mtime = decoded.mtime.value
+ obj.mtime = decoded.mtime.seconds
134
135
136
return obj
src/unixfs.proto.js
@@ -29,6 +29,6 @@ message Mode {
29
30
31
message Mtime {
32
- required int64 value = 1;
+ required int64 seconds = 1;
33
repeated int64 hrValue = 2;
34
}`
0 commit comments