mirror of https://github.com/ppy/osu
Remove unused GetUnderlyingStream method
This commit is contained in:
parent
546772192c
commit
68ebe98fde
|
@ -236,8 +236,6 @@ public override void Dispose()
|
|||
}
|
||||
|
||||
public override IEnumerable<string> Filenames => new[] { "test_file.osr" };
|
||||
|
||||
public override Stream GetUnderlyingStream() => new MemoryStream();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,5 @@ public async Task<byte[]> GetAsync(string name)
|
|||
return buffer;
|
||||
}
|
||||
}
|
||||
|
||||
public abstract Stream GetUnderlyingStream();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,5 @@ public override void Dispose()
|
|||
}
|
||||
|
||||
public override IEnumerable<string> Filenames => Directory.GetFiles(path, "*", SearchOption.AllDirectories).Select(f => f.Replace(path, string.Empty).Trim(Path.DirectorySeparatorChar)).ToArray();
|
||||
|
||||
public override Stream GetUnderlyingStream() => null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,5 @@ public override void Dispose()
|
|||
}
|
||||
|
||||
public override IEnumerable<string> Filenames => new[] { Name };
|
||||
|
||||
public override Stream GetUnderlyingStream() => null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,5 @@ public override void Dispose()
|
|||
}
|
||||
|
||||
public override IEnumerable<string> Filenames => archive.Entries.Select(e => e.Key).ExcludeSystemFileNames();
|
||||
|
||||
public override Stream GetUnderlyingStream() => archiveStream;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue