code: def v1File_size(f: bindings.v1File) -> int:
      if f.content:
          # The content is already base64-encoded, and we want the real length.
          return len(f.content) // 4 * 3
      return 0
  
file_path: determined/harness/determined/common/v1file_utils.py
imports: import base64
  import pathlib
  import tarfile
  from typing import Any, Dict
  from determined.common.api import bindings
label_desc: Use image node_id 1 for calling a global function with example usage: v1File_size(f) and returns: int, unknown