get the last modification of a file in unix timestamp or string format.
#include "doTheWorldOne.c"
int main(int argc, char *argv[]){
DtwNamespace dtw = newDtwNamespace();
int last_modification_in_unix = dtw.get_entity_last_motification_in_unix("tests/target/a.txt");
printf("Last modification: %d\n", last_modification_in_unix);
}
get the last modification of a file in string format.
#include "doTheWorldOne.c"
int main(int argc, char *argv[]){
DtwNamespace dtw = newDtwNamespace();
char *last_modification = dtw.get_entity_last_motification_in_string("tests/target/a.txt");
printf("Last modification: %s", last_modification);
free(last_modification);
}