Created
October 12, 2012 19:34
-
-
Save ninjudd/3881046 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(-> [] | |
(given (tempid? filenameid) (conj [:db/add filenameid :file/name filename])) | |
(given (tempid? pathid) (conj [:db/add pathid :file/name path])) | |
(given (tempid? nodeid) (conj {:db/id nodeid :node/filename filenameid :node/object id})) | |
(given newpath (conj [:db/add nodeid :node/paths pathid])) | |
(given (tempid? id) (conj {:db/id id :git/sha sha :git/type type}))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment