|  | @@ -57,22 +57,19 @@
 | 
	
		
			
				|  |  |                  (and (mobile-util/native-ios?) (not= "/" (first file)))
 | 
	
		
			
				|  |  |                  file
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -                  :else
 | 
	
		
			
				|  |  | -                  file)
 | 
	
		
			
				|  |  | -           file (gp-util/path-normalize file)
 | 
	
		
			
				|  |  | -           new? (nil? (db/entity [:file/path file]))
 | 
	
		
			
				|  |  | -           options (merge (dissoc options :verbose)
 | 
	
		
			
				|  |  | -                          {:new? new?
 | 
	
		
			
				|  |  | -                           :delete-blocks-fn (partial get-delete-blocks repo-url)
 | 
	
		
			
				|  |  | -                           :extract-options (merge
 | 
	
		
			
				|  |  | -                                             {:user-config (state/get-config)
 | 
	
		
			
				|  |  | -                                              :date-formatter (state/get-date-formatter)
 | 
	
		
			
				|  |  | -                                              :block-pattern (config/get-block-pattern (gp-util/get-format file))
 | 
	
		
			
				|  |  | -                                              :supported-formats (gp-config/supported-formats)
 | 
	
		
			
				|  |  | -                                              :uri-encoded? (boolean (util/mobile?))
 | 
	
		
			
				|  |  | -                                              :filename-format (state/get-filename-format repo-url)}
 | 
	
		
			
				|  |  | -                                             (when (some? verbose) {:verbose verbose}))})]
 | 
	
		
			
				|  |  | -       (:tx (graph-parser/parse-file (db/get-db repo-url false) file content options)))
 | 
	
		
			
				|  |  | -     (catch :default e
 | 
	
		
			
				|  |  | -       (prn "Reset file failed " {:file file})
 | 
	
		
			
				|  |  | -       (log/error :exception e)))))
 | 
	
		
			
				|  |  | +                :else
 | 
	
		
			
				|  |  | +                file)
 | 
	
		
			
				|  |  | +         file (gp-util/path-normalize file)
 | 
	
		
			
				|  |  | +         new? (nil? (db/entity [:file/path file]))
 | 
	
		
			
				|  |  | +         options (merge (dissoc options :verbose)
 | 
	
		
			
				|  |  | +                        {:new? new?
 | 
	
		
			
				|  |  | +                         :delete-blocks-fn (partial get-delete-blocks repo-url)
 | 
	
		
			
				|  |  | +                         :extract-options (merge
 | 
	
		
			
				|  |  | +                                           {:user-config (state/get-config)
 | 
	
		
			
				|  |  | +                                            :date-formatter (state/get-date-formatter)
 | 
	
		
			
				|  |  | +                                            :block-pattern (config/get-block-pattern (gp-util/get-format file))
 | 
	
		
			
				|  |  | +                                            :supported-formats (gp-config/supported-formats)
 | 
	
		
			
				|  |  | +                                            :uri-encoded? (boolean (util/mobile?))
 | 
	
		
			
				|  |  | +                                            :filename-format (state/get-filename-format repo-url)}
 | 
	
		
			
				|  |  | +                                           (when (some? verbose) {:verbose verbose}))})]
 | 
	
		
			
				|  |  | +     (:tx (graph-parser/parse-file (db/get-db repo-url false) file content options)))))
 |