Skip to content

FileOps.ReplaceStringUnique

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any String
Output ➡️ The resulting output of the shard String
OldStr No String to find (must appear exactly once) none StringVar(String)
NewStr No Replacement string none StringVar(String)
WorkDir No Working directory for resolving relative paths none NoneStringVar(String)
EnableGitCommit No Auto-commit to git if in repository false BoolVar(Bool)

Replace a string that appears exactly once in file