Changeset 25867 in project


Ignore:
Timestamp:
02/04/12 22:58:33 (9 years ago)
Author:
evhan
Message:

git: create-repository, fix incorrect treebuilder docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/git

    r25714 r25867  
    372372
    373373Returns a {{tree-entry}} object for the given {{key}}, or {{#f}} if no such
    374 object is found. {{key}} may be a zero-based integer index or the full string
    375 pathname of an entry name.
     374object is found. {{key}} may be a zero-based integer index or a filename string.
    376375
    377376<procedure>(tree->list tree [repository]) => list</procedure>
     
    428427using {{tree-builder-insert}}.
    429428
    430 <procedure>(tree-builder-insert tree-builder object path attributes) => tree-entry</procedure>
    431 
    432 Inserts {{object}} into the {{tree-builder}}'s tree at the given {{path}},
    433 which should be a pathname to a file relative to the repository's root. The
    434 inserted object must be a {{tree}} or {{blob*}}, and will have the given
    435 {{attributes}} (an integer file mode).
     429<procedure>(tree-builder-insert tree-builder object name attributes) => tree-entry</procedure>
     430
     431Inserts {{object}} into the {{tree-builder}}'s tree under the given filename
     432{{name}}. The inserted object must be a {{tree}} or {{blob*}}, and will have
     433the given {{attributes}} (an integer file mode).
    436434
    437435<procedure>(tree-builder-ref tree-builder path) => tree-entry</procedure>
    438436
    439437Returns the {{tree-entry}} from the given {{tree-builder}} at {{path}}, which
    440 should be a pathname to a file relative to the repository's root. If the
    441 requested file doesn't exist, {{#f}} is returned.
     438should be a filename string. If the requested file doesn't exist, {{#f}} is
     439returned.
    442440
    443441<procedure>(tree-builder-remove tree-builder path) => void</procedure>
Note: See TracChangeset for help on using the changeset viewer.