public void CreateIfNotExists() { if (!Exists()) { _file.CreateEmptyFile(SentinelPath); } }
public void CreateIfNotExists() { if (!Exists()) { if (!_directory.Exists(_dotnetUserProfileFolderPath)) { _directory.CreateDirectory(_dotnetUserProfileFolderPath); } _file.CreateEmptyFile(SentinelPath); } }