code: func TryExclusiveLock(path string, lockType LockType) (*FileLock, error) {
  	l, err := NewLock(path, lockType)
  	if err != nil {
  		return nil, err
  	}
  	err = l.TryExclusiveLock()
  	if err != nil {
  		return nil, err
  	}
  	return l, err
  }
docs: // TryExclusiveLock takes an exclusive lock on a file/directory without blocking.
  // It will return ErrLocked if any lock is already held on the file/directory.