1 STRING_EXTENSION_OUTSIDE
(SBFileSpec
)
3 %extend lldb
::SBFileSpec
{
6 # operator
== is a free function
, which swig does not handle
, so we inject
7 # our own equality operator here
8 def __eq__
(self
, other
):
9 return not self.__ne__
(other
)
11 fullpath
= property
(str
, None
, doc
='''A read only property that returns the fullpath as a python string.'''
)
12 basename
= property
(GetFilename
, None
, doc
='''A read only property that returns the path basename as a python string.'''
)
13 dirname
= property
(GetDirectory
, None
, doc
='''A read only property that returns the path directory name as a python string.'''
)
14 exists
= property
(Exists
, None
, doc
='''A read only property that returns a boolean value that indicates if the file exists.'''
)