class_docstr: FileDriver is the parent of all file drivers. Any child must implement the methods below
  
  Methods
  -------
  init()
      initialize the datmo file structure
  create(relative_path, directory=False)
      create a file or directory
  exists(relative_path, directory=False)
      determine if file or directory exists
  ensure(relative_path, directory=False)
      ensure file or directory exists or create if not
  delete(relative_path, directory=False)
      delete file or directory
  create_collection(filepaths)
      takes a list of absolute filepaths and aggregates into collection
  get_collection_path(filehash)
      return the collection path by filehash
  exists_collection(filehash)
      checks if a collection exists based on filehash
  delete_collection(filehash)
      deletes collection based on filehash
  transfer_collection(filehash, dst_dirpath)
      transfers collection contents to absolute dst path
class_docstr_tok: ["FileDriver","is","the","parent","of","all","file","drivers",".","Any","child","must","implement","the","methods","below","Methods","--","--","--","-","init","(",")","initialize","the","datmo","file","structure","create","(","relative_path",",","directory=False",")","create","a","file","or","directory","exists","(","relative_path",",","directory=False",")","determine","if","file","or","directory","exists","ensure","(","relative_path",",","directory=False",")","ensure","file","or","directory","exists","or","create","if","not","delete","(","relative_path",",","directory=False",")","delete","file","or","directory","create_collection","(","filepaths",")","takes","a","list","of","absolute","filepaths","and","aggregates","into","collection","get_collection_path","(","filehash",")","return","the","collection","path","by","filehash","exists_collection","(","filehash",")","checks","if","a","collection","exists","based","on","filehash","delete_collection","(","filehash",")","deletes","collection","based","on","filehash","transfer_collection","(","filehash",",","dst_dirpath",")","transfers","collection","contents","to","absolute","dst","path"]
docstr: Return the hash of the file path given
  
  Parameters
  ----------
  filepath : str
      path of the file
  
  Returns
  -------
  str
      unique hash of the file
docstr_tok: ["Return","the","hash","of","the","file","path","given","Parameters","--","--","--","--","--","filepath",":","str","path","of","the","file","Returns","--","--","--","-","str","unique","hash","of","the","file"]
code: def get_filehash(filepath):
      """Return the hash of the file path given
  
      Parameters
      ----------
      filepath : str
          path of the file
  
      Returns
      -------
      str
          unique hash of the file
      """
  
file_path: datmo/datmo/core/controller/file/driver/__init__.py
imports: from abc import ABCMeta, abstractmethod
  from future.utils import with_metaclass
label_desc: Use image node_id 8 for calling the FileDriver obj's underlying member method code with example usage: obj.get_filehash(filepath) without return types