fn make_fh()

in src/fs.rs [113:119]


    fn make_fh(&self, cursor: ResumableUploadCursor) -> u64 {
        let fh = self.fh_counter.fetch_add(1, Ordering::SeqCst);
        // Put the cursor into our hash map.
        self.file_handles.write().unwrap().insert(fh, cursor);
        // return the handle.
        fh
    }