removed debug logs
This commit is contained in:
@@ -22,17 +22,12 @@ public class HardlinkFileService : IHardlinkFileService
|
||||
return default;
|
||||
}
|
||||
|
||||
// TODO remove
|
||||
_logger.LogDebug("file {file} exists", filePath);
|
||||
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
{
|
||||
_logger.LogDebug("Windows platform detected");
|
||||
return GetWindowsHardLinkCount(filePath);
|
||||
}
|
||||
|
||||
// TODO remove
|
||||
_logger.LogDebug("Unix platform detected");
|
||||
return GetUnixHardLinkCount(filePath);
|
||||
}
|
||||
|
||||
@@ -82,8 +77,6 @@ public class HardlinkFileService : IHardlinkFileService
|
||||
{
|
||||
if (Syscall.stat(filePath, out Stat stat) == 0)
|
||||
{
|
||||
// TODO remove
|
||||
_logger.LogDebug("file {file} has links", filePath);
|
||||
return stat.st_nlink;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user