aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/IO/IFileSystem.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-05-21 13:05:03 +0200
committerGitHub <noreply@github.com>2021-05-21 13:05:03 +0200
commitd61530eb4b07ec19116773cdae1bb0d4cfa5d3d5 (patch)
treef95281f1b7c50e0f69a94a98a52acc682819a511 /MediaBrowser.Model/IO/IFileSystem.cs
parenta937a854f2582a8770d9ada7c24375065a21f7a5 (diff)
parent7e8428e588b3f0a0574da44081098c64fe1a47d7 (diff)
Merge pull request #6083 from Bond-009/nullable4
Enable nullable reference types for Emby.Server.Implementations
Diffstat (limited to 'MediaBrowser.Model/IO/IFileSystem.cs')
-rw-r--r--MediaBrowser.Model/IO/IFileSystem.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/MediaBrowser.Model/IO/IFileSystem.cs b/MediaBrowser.Model/IO/IFileSystem.cs
index e5c26430a..be4f1e16b 100644
--- a/MediaBrowser.Model/IO/IFileSystem.cs
+++ b/MediaBrowser.Model/IO/IFileSystem.cs
@@ -1,4 +1,3 @@
-#nullable disable
#pragma warning disable CS1591
using System;
@@ -25,7 +24,7 @@ namespace MediaBrowser.Model.IO
/// </summary>
/// <param name="filename">The filename.</param>
/// <returns>System.String.</returns>
- string ResolveShortcut(string filename);
+ string? ResolveShortcut(string filename);
/// <summary>
/// Creates the shortcut.
@@ -160,7 +159,7 @@ namespace MediaBrowser.Model.IO
/// <returns>All found files.</returns>
IEnumerable<FileSystemMetadata> GetFiles(string path, bool recursive = false);
- IEnumerable<FileSystemMetadata> GetFiles(string path, IReadOnlyList<string> extensions, bool enableCaseSensitiveExtensions, bool recursive);
+ IEnumerable<FileSystemMetadata> GetFiles(string path, IReadOnlyList<string>? extensions, bool enableCaseSensitiveExtensions, bool recursive);
/// <summary>
/// Gets the file system entries.
@@ -186,7 +185,7 @@ namespace MediaBrowser.Model.IO
/// <returns>IEnumerable&lt;System.String&gt;.</returns>
IEnumerable<string> GetFilePaths(string path, bool recursive = false);
- IEnumerable<string> GetFilePaths(string path, string[] extensions, bool enableCaseSensitiveExtensions, bool recursive);
+ IEnumerable<string> GetFilePaths(string path, string[]? extensions, bool enableCaseSensitiveExtensions, bool recursive);
/// <summary>
/// Gets the file system entry paths.