Create a new profile directory given a full path. Parameters ---------- profile_dir : str The full path to the profile directory. If it does exist, it will be used. If not, it will be created.
(cls, profile_dir, config=None)
| 172 | |
| 173 | @classmethod |
| 174 | def create_profile_dir(cls, profile_dir, config=None): |
| 175 | """Create a new profile directory given a full path. |
| 176 | |
| 177 | Parameters |
| 178 | ---------- |
| 179 | profile_dir : str |
| 180 | The full path to the profile directory. If it does exist, it will |
| 181 | be used. If not, it will be created. |
| 182 | """ |
| 183 | return cls(location=profile_dir, config=config) |
| 184 | |
| 185 | @classmethod |
| 186 | def create_profile_dir_by_name(cls, path, name=u'default', config=None): |
no outgoing calls
no test coverage detected