Initializes the cache of the canister data. Must only be called within a canister init or post_upgrade call.
(&self)
| 507 | /// |
| 508 | /// Must only be called within a canister init or post_upgrade call. |
| 509 | fn init_cache(&self) { |
| 510 | USER_GROUP_REPOSITORY.build_cache(); |
| 511 | USER_REPOSITORY.build_cache(); |
| 512 | PERMISSION_REPOSITORY.build_cache(); |
| 513 | ASSET_REPOSITORY.build_cache(); |
| 514 | NAMED_RULE_REPOSITORY.build_cache(); |
| 515 | } |
| 516 | |
| 517 | /// Initializes the canister with the given owners and settings. |
| 518 | /// |
no test coverage detected