Re: [go-nuts] filepath.Clean

2016-07-13 Thread brainman
I don't remember. I suspect I was only worried about making tests pass. And keep existing code as simple as I have found it. (Just as Ian explained) Alex On Thursday, 14 July 2016 06:41:53 UTC+10, Anmol Sethi wrote: > > I’ve cced him, hopefully he can state exactly why. > > > On Jul 13, 2016, a

Re: [go-nuts] filepath.Clean

2016-07-13 Thread Anmol Sethi
I’ve cced him, hopefully he can state exactly why. > On Jul 13, 2016, at 4:02 PM, Ian Lance Taylor wrote: > > On Wed, Jul 13, 2016 at 10:40 AM, Anmol Sethi wrote: >> Why does filepath.Clean replace each slash with a separator at the end of >> the function? What’s the point of attempting to cle

Re: [go-nuts] filepath.Clean

2016-07-13 Thread Ian Lance Taylor
On Wed, Jul 13, 2016 at 10:40 AM, Anmol Sethi wrote: > Why does filepath.Clean replace each slash with a separator at the end of the > function? What’s the point of attempting to clean it if the separator used is > incorrect? Wouldn’t doing this at the start of the function make more sense? It

[go-nuts] filepath.Clean

2016-07-13 Thread Anmol Sethi
Why does filepath.Clean replace each slash with a separator at the end of the function? What’s the point of attempting to clean it if the separator used is incorrect? Wouldn’t doing this at the start of the function make more sense? -- You received this message because you are subscribed to the