class_docstr: Metadata about a file or directory.
code: def to_proto(self):
      proto = ProtoFileInfo()
      proto.path = self.path
      proto.is_dir = self.is_dir
      if self.file_size:
          proto.file_size = self.file_size
      return proto
  
file_path: mlflow/mlflow/entities/file_info.py
imports: from mlflow.entities._mlflow_object import _MLflowObject
  from mlflow.protos.service_pb2 import FileInfo
label_desc: Use image node_id 6 for calling the FileInfo obj's underlying member method code with example usage: obj.to_proto() and returns: proto