basicfs_lstat_regular.go 463 B

12345678910111213141516
  1. // Copyright (C) 2015 The Syncthing Authors.
  2. //
  3. // This Source Code Form is subject to the terms of the Mozilla Public
  4. // License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5. // You can obtain one at https://mozilla.org/MPL/2.0/.
  6. //go:build !linux && !android && !windows
  7. // +build !linux,!android,!windows
  8. package fs
  9. import "os"
  10. func (*BasicFilesystem) underlyingLstat(name string) (fi os.FileInfo, err error) {
  11. return os.Lstat(name)
  12. }