Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
os: Stat().Size contains incorrect value #23493
I did compare the contents of FileInfo.Size returned by several stat functions. The resutle of the tests varies depending on the utilized methodes.
fi, err = os.Stat(fqfn)
fi, err = os.Lstat(fqfn)
file, err := os.Open( fqfn )
What version of Go are you using (