Skip to content

Commit

Permalink
pystoremodel: fix insert_tree docstring
Browse files Browse the repository at this point in the history
Summary: Forget to update it after copy paste.

Reviewed By: lmvasquezg

Differential Revision: D64437524

fbshipit-source-id: 57f63c63f8b0fcc39751b05ed387cc9b7541bc83
  • Loading branch information
quark-zju authored and facebook-github-bot committed Oct 17, 2024
1 parent 4ffdf64 commit 0427ab0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ py_class!(pub class FileStore |py| {
py_class!(pub class TreeStore |py| {
data inner: Arc<dyn NativeTreeStore>;

/// insert_file(opts, path: str, data: bytes) -> node
/// insert_tree(opts, path: str, items: [(name, node, flag)]) -> node
/// flag: 'directory' | {'file': 'regular' | 'executable' | 'symlink' | 'git_submodule'})
/// opts: {parents: List[node], hg_flags: int}
///
/// Check `storemodel::TreeStore` for details.
Expand Down

0 comments on commit 0427ab0

Please sign in to comment.