Table of Contents

Method WriteAllTextAtomic

Namespace
Oscova.Agents.Utils
Assembly
Oscova.Agents.dll

WriteAllTextAtomic(string, string)

Writes text to path atomically by staging beside the target before replacing it.

public static void WriteAllTextAtomic(string path, string content)

Parameters

path string
content string