From 2ddb8aa97ed87d35c6105980383c418a6bc5f245 Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Mon, 20 Jun 2022 02:55:25 +0100 Subject: [PATCH] Comment for potentially bad code --- Program.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Program.cs b/Program.cs index 777b729..c7a1032 100644 --- a/Program.cs +++ b/Program.cs @@ -95,6 +95,11 @@ class Program { if(File.GetAttributes(subdir).HasFlag(FileAttributes.ReparsePoint)) { + /* + * FIXME: This is only a temporary measure and should not be relied upon + * if possible there should be a depth detection system that allows for + * safe symlink following. + */ Log.Debug("Directory {subdir} is a ReparsePoint(symlink) and has been ignored",subdir); continue; }