Compiles:
type Windows = FileSystem<"C:/Windows/System32/drivers/etc">
let updateHosts name (ip:IPAddress) =
Windows.hosts
Not compiles (where is etc?):
type Windows = FileSystem<"C:/Windows/System32/drivers">
let updateHosts name (ip:IPAddress) =
Windows.etc
I want to reach C:/Windows/System32/drivers/etc/hosts which is like local DNS table, sometimes used to to ensure .NET IO classes map to right network storage by name. Hence change of hosts during deployment.