parameters: (self, type)
return_statement: return file_name
docstring: gets the full filename of the file reference as it is on disk
docstring_summary: gets the full filename of the file reference as it is on disk
docstring_tokens: gets the full filename of the file reference as it is on disk
function: def get_file_name_by_type(self, type):
          '''gets the full filename of the file reference as it is on disk'''
          '''Note that this is now the same as "get_name_by_type" because the
          snapshot now contains the full file name'''
          xml = self.get_snapshot_xml()
          node = xml.get_node("snapshot/file[@type='%s']"%type)
          if node is None:
              return ''
  
          file_name = self._get_file_name(node)
          return file_name
function_tokens: def get_file_name_by_type ( self , type ) : '''Note that this is now the same as "get_name_by_type" because the
          snapshot now contains the full file name''' xml = self . get_snapshot_xml ( ) node = xml . get_node ( "snapshot/file[@type='%s']" % type ) if node is None : return '' file_name = self . _get_file_name ( node ) return file_name