/**
  * Create an FDirectory with metadata from some FSObject and some content
  * that could be lazily produced by some function.
  *
  * @param   FSObject    $fs_object
  * @param   \Closure    $contents_lazy
  * @return  FDirectory
  */
 public function newFDirectory(FSObject $fs_object, \Closure $contents_lazy)
 {
     $fdir = new FDirectory($fs_object, $contents_lazy);
     if ($this->strict_evaluation) {
         $fdir->fcontents();
     }
     return $fdir;
 }
 public function __construct(FDirectory $fdirectory)
 {
     parent::__construct($fdirectory->flightcontrol(), $fdirectory->path());
     $this->fdirectory = $fdirectory;
 }