code: func (s *LogStream) Save(withMeta bool) (ds.PropertyMap, error) {
  	if !s.noDSValidate {
  		if err := s.validateImpl(true); err != nil {
  			return nil, err
  		}
  	}
  	s.Schema = CurrentSchemaVersion
  
  	// Save default struct fields.
  	pmap, err := ds.GetPLS(s).Save(withMeta)
  	if err != nil {
  		return nil, err
  	}
  
  	// Encode _Tags.
  	pmap["_Tags"], err = s.Tags.toProperties()
  	if err != nil {
  		return nil, fmt.Errorf("failed to encode tags: %v", err)
  	}
  
  	// Generate our path components, "_C".
  	pmap["_C"] = generatePathComponents(s.Prefix, s.Name)
  
  	return pmap, nil
  }
docs: // Save implements ds.PropertyLoadSaver.