File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,12 @@ func Ext(path string) string {
230
230
// If path is relative the result will be relative to the current directory,
231
231
// unless one of the components is an absolute symbolic link.
232
232
// EvalSymlinks calls Clean on the result.
233
+ // Use of this function is unsuitable for applications.
234
+ // This function always resolves all links on path, but links introduce
235
+ // indirections that may solve problems that are not the concern of applications
236
+ // and of which applications should remain unaware unless they perform
237
+ // system administrative tasks on behalf of the user in which case they should
238
+ // resolve only those links that they create, manage and delete.
233
239
func EvalSymlinks (path string ) (string , error ) {
234
240
return evalSymlinks (path )
235
241
}
You can’t perform that action at this time.
0 commit comments