guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/16: build-derivations: Adapt docstrings to fit style.


From: guix-commits
Subject: 15/16: build-derivations: Adapt docstrings to fit style.
Date: Sat, 20 Apr 2019 17:25:29 -0400 (EDT)

reepca pushed a commit to branch guile-daemon
in repository guix.

commit 6e9f127f080e68dc60fb07f499ce3fbc678e6c68
Author: Caleb Ristvedt <address@hidden>
Date:   Sat Apr 20 01:19:38 2019 -0500

    build-derivations: Adapt docstrings to fit style.
    
    * guix/store/build-derivations.scm (output-paths, get-output-specs,
      build-derivation): Change docstrings to imperative tense.
---
 guix/store/build-derivations.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guix/store/build-derivations.scm b/guix/store/build-derivations.scm
index 9b3dca5..6fdd7b4 100644
--- a/guix/store/build-derivations.scm
+++ b/guix/store/build-derivations.scm
@@ -80,13 +80,13 @@
 
 
 (define (output-paths drv)
-  "Returns all store output paths produced by DRV."
+  "Return all store output paths produced by DRV."
   (match (derivation-outputs drv)
     (((outid . ($ <derivation-output> output-path)) ...)
      output-path)))
 
 (define (get-output-specs drv possible-references)
-  "Returns a list of <store-info> objects, one for each output of DRV."
+  "Return a list of <store-info> objects, one for each output of DRV."
   (map (match-lambda
          ((outid . ($ <derivation-output> output-path))
           (let ((references
@@ -823,7 +823,7 @@ even if its outputs already exist."
    inputs))
 
 (define* (build-derivation drv #:optional (outputs (derivation-output-names 
drv)))
-  "Given a <derivation> DRV with desired outputs OUTPUTS, builds DRV if the
+  "Given a <derivation> DRV with desired outputs OUTPUTS, build DRV if the
 outputs don't already exist."
   (unless (outputs-exist? (derivation-file-name drv)
                           outputs)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]