Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cl-tar
cl-tar-file
Commits
46b1fa68
Commit
46b1fa68
authored
Sep 20, 2021
by
Eric Timmons
Browse files
Add PREFIX to directory entries
parent
18740bb3
Pipeline
#4688
passed with stage
in 6 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/entry.lisp
View file @
46b1fa68
...
...
@@ -140,8 +140,9 @@
(
:documentation
"A directory."
))
(
defmethod
write-directory-entry
(
tar-file
name
&rest
args
&key
uname
gname
mode
mtime
uid
gid
size
)
(
declare
(
ignore
uname
gname
mode
mtime
uid
gid
size
))
(
defmethod
write-directory-entry
(
tar-file
name
&rest
args
&key
uname
gname
mode
mtime
uid
gid
size
prefix
)
(
declare
(
ignore
uname
gname
mode
mtime
uid
gid
size
prefix
))
(
let
((
header
(
apply
#'
make-instance
(
header-type
tar-file
)
:name
name
:typeflag
+tar-directory-file+
...
...
src/generics.lisp
View file @
46b1fa68
...
...
@@ -216,7 +216,8 @@ written to the archive)."))
(
:documentation
"Write a BLOCK-DEVICE-ENTRY to TAR-FILE."
))
(
defgeneric
write-directory-entry
(
tar-file
name
&rest
args
&key
uname
gname
mode
mtime
uid
gid
size
)
(
defgeneric
write-directory-entry
(
tar-file
name
&rest
args
&key
uname
gname
mode
mtime
uid
gid
size
prefix
)
(
:documentation
"Write a DIRECTORY-ENTRY to TAR-FILE."
))
...
...
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