using System.IO; namespace Jellyfin.Extensions; /// /// Provides helper functions for . /// public static class FileHelper { /// /// Creates, or truncates a file in the specified path. /// /// The path and name of the file to create. public static void CreateEmpty(string path) { using (File.OpenHandle(path, FileMode.Create, FileAccess.ReadWrite, FileShare.None)) { } } }