Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
netfarm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hayley Patton
netfarm
Commits
0b4df228
Commit
0b4df228
authored
Mar 19, 2020
by
Hayley Patton
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rendering REFERENCE needs to convert the hash to base64
parent
c2974e5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Code/Text-format/new-renderer.lisp
Code/Text-format/new-renderer.lisp
+2
-1
No files found.
Code/Text-format/new-renderer.lisp
View file @
0b4df228
...
...
@@ -130,7 +130,8 @@ string; but RENDER-OBJECT will emit Netfarm standard format text."))
(
defgeneric
render-to-stream
(
object
stream
)
(
:documentation
"Render a Netfarm value to a stream."
)
(
:method
((
ref
reference
)
stream
)
(
format
stream
"ref:~a"
(
reference-hash
ref
)))
(
format
stream
"ref:~a"
(
bytes->base64
(
reference-hash
ref
))))
(
:method
((
object
object
)
stream
)
(
format
stream
"ref:~a"
(
bytes->base64
(
hash-object
object
))))
(
:method
((
string
integer
)
stream
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment