mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: Member or type can be made internal.
This commit is contained in:
@@ -36,11 +36,11 @@ using System.Text;
|
||||
|
||||
namespace DiscImageChef.Devices.Linux
|
||||
{
|
||||
public static class ListDevices
|
||||
static class ListDevices
|
||||
{
|
||||
const string PATH_SYS_DEVBLOCK = "/sys/block/";
|
||||
|
||||
public static DeviceInfo[] GetList()
|
||||
internal static DeviceInfo[] GetList()
|
||||
{
|
||||
string[] sysdevs = Directory.GetFileSystemEntries(PATH_SYS_DEVBLOCK, "*", SearchOption.TopDirectoryOnly);
|
||||
DeviceInfo[] devices = new DeviceInfo[sysdevs.Length];
|
||||
|
||||
Reference in New Issue
Block a user