What is the git equivalent to CompiledCode>>#timeStamp
? (which returns an empty string)
Hi Sean,
On 14 Jul 2021, at 23:21, sean@clipperadams.com wrote:
What is the git equivalent to CompiledCode>>#timeStamp? (which returns an empty string)
That does not exist anymore: maintaining a timestamp in source code does not make sense in a time where everything is under source code management. Basically because you could forget to update the timestamp when you change something elsewhere.
However, for source code (classes/methods) to which a repository is connected, you can ask for the git history, which is much more powerful. I don't know how to do this programmatically, but in the IDE click on the method, menu > History.
Here is an example:
Regards,
Sven
Sven Van Caekenberghe wrote:
I don't know how to do this programmatically
That’s what I’m trying to figure out :)