code: func (c *Client) FixLockableFileWriteFlags(files []string) error {
  	// early-out if no lockable patterns
  	if len(c.GetLockablePatterns()) == 0 {
  		return nil
  	}
  
  	var errs []error
  	for _, f := range files {
  		err := c.fixSingleFileWriteFlags(f, c.getLockableFilter(), nil)
  		if err != nil {
  			errs = append(errs, err)
  		}
  	}
  
  	return errors.Combine(errs)
  }
docs: // FixLockableFileWriteFlags checks each file in the provided list, and for
  // those which are lockable, makes sure their write flags are set correctly
  // based on whether they are currently locked or unlocked. Files which are
  // unlocked are made read-only, files which are locked are made writeable.
  // Files which are not lockable are ignored.
  // This function can be used after a clone or checkout to ensure that file
  // state correctly reflects the locking state, and is more efficient than
  // FixAllLockableFileWriteFlags when you know which files changed