From 84c8905d527893bedc673e8a036b8b2ec89368b4 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 17 Aug 2023 23:56:51 -0400 Subject: Revert "Add fs.relative_to()" This reverts commit f52bcaa27fc125ab9ae583af466ba99c164169f3. It did not pass CI, and was merged anyway because there were two CI errors in the same cygwin job. The other error was not the fault of this commit, and since cygwin errors were glossed over because they were "expected", the presence of a new error *added* by this commit was overlooked. Per the meson development policy, PRs which result in CI errors can/should be reverted at will, no questions asked. --- docs/markdown/Fs-module.md | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'docs/markdown/Fs-module.md') diff --git a/docs/markdown/Fs-module.md b/docs/markdown/Fs-module.md index f136bb904..cc67355b5 100644 --- a/docs/markdown/Fs-module.md +++ b/docs/markdown/Fs-module.md @@ -224,20 +224,6 @@ fs.stem('foo/bar/baz.dll.a') # baz.dll project. If the file specified by `path` is a `files()` object it cannot refer to a built file. -### relative_to - -*Since 1.3.0* - -Return a relative filepath. In the event a relative path could not be found, the -absolute path of `to` is returned. Relative path arguments will be assumed to be -relative to `meson.current_source_dir()`. - -Has the following positional arguments: - - to `str | file | custom_tgt | custom_idx | tgt`: end path - - from `str | file | custom_tgt | custom_idx | tgt`: start path - -returns: - - a string ### copyfile -- cgit v1.2.3