casbin/persist/file_adapter/file_adapter.cpp
void FileAdapter :: LoadPolicy(const std::shared_ptr<Model>& model) {
    if (this->file_path == "")
        throw CasbinAdapterException("Invalid file path, file path cannot be empty");

    this->LoadPolicyFile(model, LoadPolicyLine);
}
// LoadPolicy loads all policy rules from the storage.
LoadPolicy loads all policy rules from the storage.
LoadPolicy loads all policy rules from the storage .
void FileAdapter :: LoadPolicy(const std::shared_ptr<Model>& model) {
    if (this->file_path == "")
        throw CasbinAdapterException("Invalid file path, file path cannot be empty");
    this->LoadPolicyFile(model, LoadPolicyLine);
}
void FileAdapter :: LoadPolicy ( const std :: shared_ptr < Model > & model ) { if ( this -> file_path == " " ) throw CasbinAdapterException ( " " ) ; this -> LoadPolicyFile ( model , LoadPolicyLine ) ; }
LoadPolicy loads all policy rules from the storage.
LoadPolicy loads all policy rules from the storage .