Part of bzrlib.config View In Hierarchy
Known subclasses: bzrlib.config.IniFileStore
Method | is_loaded | Returns True if the Store has been loaded. |
Method | load | Loads the Store from persistent storage. |
Method | unload | Unloads the Store. |
Method | save | Saves the Store to persistent storage. |
Method | external_url | Undocumented |
Method | get_sections | Returns an ordered iterable of existing sections. |
Method | get_mutable_section | Returns the specified mutable section. |
Method | __repr__ | Undocumented |
Method | _load_from_string | Create a store from a string in configobj syntax. |
This is used to implement lazy loading and ensure the persistent storage is queried only when needed.
Parameters | bytes | A string representing the file content. |
This should make is_loaded() return False. This is used when the caller knows that the persistent storage has changed or may have change since the last load.
Returns | An iterable of (name, dict). |
Parameters | section_name | The section identifier |