openbmc / phosphor-objmgr

Phosphor Object Manager
Apache License 2.0
6 stars 8 forks source link

Add an accessor function for cache entries #10

Closed bradbishop closed 8 years ago

bradbishop commented 8 years ago

Determining the difference between a directory path element and a path element that doesn't exist with pyphosphor is awkward. Create an accessor function to funnel this weirdness in one spot.

Make sure objectmanagers adhere to match rules before adding them.


This change is Reviewable