public bool CreateNewFile() { if (Exists() || !_parent.Exists()) { return(false); } LocalStorage.SetItem(GetCanonicalPath(), WindowEx.Btoa("")); return(true); }
public override void Flush() { if (!_isDirty) { return; } Consolidate(); LocalStorage.SetItem(_name, WindowEx.Btoa(_data)); _isDirty = false; }