public TM_UserData_Git(TM_FileStorage tmFileStorage) { Current = this; FileStorage = tmFileStorage; UserData = tmFileStorage.userData(); NGit_Author_Name = TMConsts.NGIT_DEFAULT_AUTHOR_NAME; NGit_Author_Email = TMConsts.NGIT_DEFAULT_AUTHOR_EMAIL; }
public static TM_UserData_Git setup_UserData_Git_Support(this TM_FileStorage tmFileStorage) { if (tmFileStorage.userData().notNull()) { var userDataGit = new TM_UserData_Git(tmFileStorage); userDataGit.syncWithGit(); return(userDataGit); } return(null); }