github.com/replicatedhq/ship@v0.55.0/pkg/lifecycle/unfork/pre_unfork_multidoc.go (about)

     1  package unfork
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/replicatedhq/ship/pkg/util"
     7  )
     8  
     9  // this function is not perfect, and has known limitations. One of these is that it does not account for `\n---\n` in multiline strings.
    10  func (l *Unforker) maybeSplitMultidocYaml(ctx context.Context, localPath string) error {
    11  	return util.MaybeSplitMultidocYaml(ctx, l.FS, localPath)
    12  }