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)
| 151 | |
| 152 | @classmethod |
| 153 | def create_profile_dir(cls, profile_dir, config=None): |
| 154 | """Create a new profile directory given a full path. |
| 155 | |
| 156 | Parameters |
| 157 | ---------- |
| 158 | profile_dir : str |
| 159 | The full path to the profile directory. If it does exist, it will |
| 160 | be used. If not, it will be created. |
| 161 | """ |
| 162 | return cls(location=profile_dir, config=config) |
| 163 | |
| 164 | @classmethod |
| 165 | def create_profile_dir_by_name(cls, path, name=u'default', config=None): |
no outgoing calls
no test coverage detected