mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-11 08:36:49 +00:00
consolidate internal interfaces
This commit is contained in:
1 parent
0579f245e4
commit
3bf72b71b3
28 files changed
+114
-301
No files matched your search
@@ -408,13 +408,13 @@ namespace Emby.Common.Implementations.IO
|
||||
{
|
||||
if (isHidden)
|
||||
{
|
||||
FileAttributes attributes = File.GetAttributes(path);
|
||||
attributes = RemoveAttribute(attributes, FileAttributes.Hidden);
|
||||
File.SetAttributes(path, attributes);
|
||||
File.SetAttributes(path, File.GetAttributes(path) | FileAttributes.Hidden);
|
||||
}
|
||||
else
|
||||
{
|
||||
File.SetAttributes(path, File.GetAttributes(path) | FileAttributes.Hidden);
|
||||
FileAttributes attributes = File.GetAttributes(path);
|
||||
attributes = RemoveAttribute(attributes, FileAttributes.Hidden);
|
||||
File.SetAttributes(path, attributes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user