At file level, the directive affects all the free functions, contracts and libraries defined within that file. It does not affect other files that import the file containing it, unless it is marked as global. global extends its effect to all files. The use of global is possible only with UDVTs, structs, and enums that are defined in its source unit.
At file level, the directive affects all the free functions, contracts and libraries defined within that file. It does not affect other files that import the file containing it, unless it is marked as global. global extends its effect to all files. The use of global is possible only with UDVTs, structs, and enums that are defined in its source unit.