1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 08:06:04 +02:00

Improved EditData GetFileTime

This commit is contained in:
Brian Fiete 2020-11-04 09:50:41 -08:00
parent d4d74ed37c
commit cabacdd183
3 changed files with 13 additions and 5 deletions

View file

@ -160,5 +160,13 @@ namespace IDE
default: return false;
}
}
public void GetFileTime()
{
#if !CLI
if (mFilePath != null)
mFileTime = File.GetLastWriteTime(mFilePath).GetValueOrDefault();
#endif
}
}
}