1 STRING_EXTENSION_OUTSIDE(SBFileSpec) 2 3 %extend lldb::SBFileSpec { 4 #ifdef SWIGPYTHON 5 %pythoncode %{ 6 fullpath = property(str, None, doc='''A read only property that returns the fullpath as a python string.''') 7 basename = property(GetFilename, None, doc='''A read only property that returns the path basename as a python string.''') 8 dirname = property(GetDirectory, None, doc='''A read only property that returns the path directory name as a python string.''') 9 exists = property(Exists, None, doc='''A read only property that returns a boolean value that indicates if the file exists.''') 10 %} 11 #endif 12 } 13