From 0427ab034cde687b0b42880162255328cd329145 Mon Sep 17 00:00:00 2001 From: Jun Wu Date: Thu, 17 Oct 2024 13:17:16 -0700 Subject: [PATCH] pystoremodel: fix insert_tree docstring Summary: Forget to update it after copy paste. Reviewed By: lmvasquezg Differential Revision: D64437524 fbshipit-source-id: 57f63c63f8b0fcc39751b05ed387cc9b7541bc83 --- .../scm/saplingnative/bindings/modules/pystoremodel/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eden/scm/saplingnative/bindings/modules/pystoremodel/src/lib.rs b/eden/scm/saplingnative/bindings/modules/pystoremodel/src/lib.rs index 37bd50337bc8a..9fadc5fdb9adc 100644 --- a/eden/scm/saplingnative/bindings/modules/pystoremodel/src/lib.rs +++ b/eden/scm/saplingnative/bindings/modules/pystoremodel/src/lib.rs @@ -68,7 +68,8 @@ py_class!(pub class FileStore |py| { py_class!(pub class TreeStore |py| { data inner: Arc; - /// 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.