static public AttemptResult Delete(this StreamSystem item, string path, long milliseconds = StreamSystem.DEFAULT_WAIT) { if (item.DoesStreamExist(path)) { return(item.DeleteStream(path, milliseconds)); } if (item.DoesDirectoryExist(path)) { return(item.DeleteDirectory(path, milliseconds)); } return(AttemptResult.Failed); }
public override AttemptResult DeleteStream(string path, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(stream_system.DeleteStream(CalculatePath(path), milliseconds)); }