func (m *yamlManager) GetSpaceDefaults() (*SpaceConfig, error) {
	fp := filepath.Join(m.ConfigDir, "spaceDefaults.yml")

	if !FileOrDirectoryExists(fp) {
		return nil, nil
	}
	result := SpaceConfig{}
	err := LoadFile(fp, &result)
	return &result, err
}
func (m *yamlManager) GetSpaceDefaults() (*SpaceConfig, error) {
	fp := filepath.Join(m.ConfigDir, "spaceDefaults.yml")

	if !FileOrDirectoryExists(fp) {
		return nil, nil
	}
	result := SpaceConfig{}
	err := LoadFile(fp, &result)
	return &result, err
}
func ( m * yamlManager ) GetSpaceDefaults ( ) ( * SpaceConfig , error ) { fp := filepath . Join ( m . ConfigDir , " " ) if ! FileOrDirectoryExists ( fp ) { return nil , nil } result := SpaceConfig { } err := LoadFile ( fp , & result ) return & result , err }
// GetSpaceDefaults returns the default space configuration, if one was provided.
// If no space defaults were configured, a nil config and a nil error are returned.
GetSpaceDefaults returns the default space configuration if one was provided . If no space defaults were configured a nil config and a nil error are returned .