code: func (c *RemoteClient) lockInfo() (*state.LockInfo, error) {
  	raw, err := c.get(c.lockFilePath())
  	if err != nil {
  		return nil, err
  	}
  
  	info := &state.LockInfo{}
  
  	if err := json.Unmarshal(raw.Data, info); err != nil {
  		return nil, err
  	}
  
  	return info, nil
  }
docs: // lockInfo reads the lock file, parses its contents and returns the parsed
  // LockInfo struct.