types: remove deprecated Key.name() and Key.set_name()

Summary: Removing this function in favor of using Key.path

Reviewed By: quark-zju

Differential Revision: D14945331

fbshipit-source-id: 6b6bb70375629edf37b2b04a86545f18e15b33b4
This commit is contained in:
Stefan Filip 2019-04-16 15:29:45 -07:00 committed by Facebook Github Bot
parent f2d3b57771
commit 23c7ce1c79

View File

@ -458,7 +458,7 @@ impl MononokeRepo {
let filenode = HgFileNodeId::new(key.node.clone().into());
let logger = self.logger.clone();
let fut = MPath::new(key.name())
let fut = MPath::new(&key.path)
.into_future()
.from_err()
.and_then(move |path| {