From 03407a734b9efff4722d28980fea4c87745fe64b Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Wed, 2 Mar 2022 18:44:54 +0100 Subject: [PATCH] mark RealPathFileLister as deprecated --- request-interfaces.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/request-interfaces.go b/request-interfaces.go index c8c424c9..e5dc49bb 100644 --- a/request-interfaces.go +++ b/request-interfaces.go @@ -90,6 +90,8 @@ type LstatFileLister interface { // We use "/" as start directory for relative paths, implementing this // interface you can customize the start directory. // You have to return an absolute POSIX path. +// +// Deprecated: if you want to set a start directory use WithStartDirectory RequestServerOption instead. type RealPathFileLister interface { FileLister RealPath(string) string