When file added?

Is it possible for IPFS to return the timestamp or datetime of a file’s addition?
Or I must log it alone?

The same for “ipfs name publish”.

Basically, ipfs keeps time of an action or not?

I need this for synchronization.

File addition is relative to the node. I’m not sure your node tracks when it adds a block.

Yes you’d likely have to log this on your own.

I’m not sure on this one.

Generally speaking, it doesn’t. IPFS is more interested in the content itself instead of when that content was seen.

Seems like something you’ll have to track / maintain / solve yourself, at least for the time being. I’m not sure I see how IPFS as a protocol could assist here :thinking:

1 Like

It’s not the addition time but there is an open bounty for adding mtime (as well as mode) that is really close to being done. When that’s done you could use that in a limited way by updating the modification time right before adding the file.