in tool/TeamCity.Docker/FileSystem.cs [68:82]
public void WriteFile(string path, string content)
{
if (path == null)
{
throw new ArgumentNullException(nameof(path));
}
if (content == null)
{
throw new ArgumentNullException(nameof(content));
}
Directory.CreateDirectory(Path.GetDirectoryName(path) ?? ".");
File.WriteAllText(path, content);
}