Place file in a typesafe manner.
Place file in a typesafe manner. If placeholder is not provided, find the first typesafe placeholder. If the placeholder is provided, assert the file can be placed in a typesafe manner.
In case the file can not be placed in a typesafe manner, the placement will fail.
The main difference between
is how they behave in cases where it is not possilbe to place the
file respecting typesafety.
os.TYPESAFE will reject the operation.
os.TYPESAFE_IF_POSSIBLE will place the file anyway.
Moving a file without the TYPESAFE flag will ignore .Accept rules.
Moving a file with the TYPESAFE flag will respect .Accept rules.
Moving a file with the TYPESAFE flag will respect .Accept rules. If the .Accept rules deny placement, the operation will fail.