func()

in file.go [160:169]


func (f *File) writeContent(ctx context.Context, scope Scope) error {
	if f.Content == nil {
		return nil
	}

	provider := f.provider(scope)
	path := filepath.Join(provider.Prefix, f.Path)

	return safeWriteContent(ctx, scope, path, f.Content, f.MD5)
}