Get content diff with previous vesrion
Posted: Mon Dec 01, 2014 5:37 am
Hello all, my company was using Vault to manage our source code, and recently my manager wanted to analysis our code quality, and asked me to develop a tool with Vault Api to count changed classes and functions during certain period.
For example, from 2014/6/1 to 2014/10/1, get all the changed files, classes and functions.
Now I am able to get changed file list by ServerOperations.ProcessCommandHistory() method, but next step compare files with previous version to get changed classes and functions, which I don't know how to get it. I am very new to Vault api, can anyone show me a way out? which command or class shall I used, if have any example would be great!
Thanks!
For example, from 2014/6/1 to 2014/10/1, get all the changed files, classes and functions.
Now I am able to get changed file list by ServerOperations.ProcessCommandHistory() method, but next step compare files with previous version to get changed classes and functions, which I don't know how to get it. I am very new to Vault api, can anyone show me a way out? which command or class shall I used, if have any example would be great!
Thanks!