Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does doxygen's $Id: ... $ mean

Tags:

doxygen

cvs

rcs

I'm looking at a doxygen code example and seeing the following.

/**  
  @file test.h  
  @brief Define helper functions  
  $Id: test.h,v 1.10 2012/10/10 10:10:10 author Exp $  
*/ 

Can anyone explain what does $Id: do here?

Thanks

like image 265
elgnoh Avatar asked Nov 12 '12 18:11

elgnoh


1 Answers

That's not a doxygen line at all. That's a source-control command character telling it to substitute in version information so you can see in the source which committed version you're working with. See http://www.badgertronics.com/writings/cvs/keywords.html

like image 171
Mark B Avatar answered Sep 20 '22 12:09

Mark B