From 026e726dc3a0e59d20736496dc32e96c8571aa45 Mon Sep 17 00:00:00 2001 From: Yorgos Saslis <2420882+gsaslis@users.noreply.github.com> Date: Tue, 7 Sep 2021 10:09:35 +0300 Subject: [PATCH] Improves `mtime` explanation description adapted from https://docs.ipfs.io/concepts/file-systems/#unix-file-system-unixfs --- src/tutorials/0004-mutable-file-system/05.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tutorials/0004-mutable-file-system/05.md b/src/tutorials/0004-mutable-file-system/05.md index e0e22ac97..331ee91d9 100644 --- a/src/tutorials/0004-mutable-file-system/05.md +++ b/src/tutorials/0004-mutable-file-system/05.md @@ -28,7 +28,7 @@ contained in the directory you're inspecting, with the following properties: - `size`: the size of the file in bytes - `cid`: the Content Identifier (CID) that identifies your file in IPFS - `mode`: the UnixFS mode as a Number -- `mtime`: an object with numeric `secs` and `nsecs` properties +- `mtime`: a two-element structure (`secs`, `nsecs`) representing the modification time in seconds relative to the Unix epoch `1970-01-01T00:00:00Z` If we wanted to inspect the contents of a `/catPics` directory, we could do it like this: