mirror of https://github.com/SixLabors/ImageSharp
42 changed files with 48 additions and 144 deletions
@ -1,30 +1,19 @@ |
|||
// Copyright (c) Six Labors and contributors.
|
|||
// Licensed under the Apache License, Version 2.0.
|
|||
|
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.IO; |
|||
using System.Text; |
|||
|
|||
namespace SixLabors.ImageSharp.IO |
|||
{ |
|||
#if !NETSTANDARD1_1
|
|||
/// <summary>
|
|||
/// A wrapper around the local File apis.
|
|||
/// </summary>
|
|||
internal class LocalFileSystem : IFileSystem |
|||
{ |
|||
/// <inheritdoc/>
|
|||
public Stream OpenRead(string path) |
|||
{ |
|||
return File.OpenRead(path); |
|||
} |
|||
public Stream OpenRead(string path) => File.OpenRead(path); |
|||
|
|||
/// <inheritdoc/>
|
|||
public Stream Create(string path) |
|||
{ |
|||
return File.Create(path); |
|||
} |
|||
public Stream Create(string path) => File.Create(path); |
|||
} |
|||
#endif
|
|||
} |
|||
} |
|||
Loading…
Reference in new issue