diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2023-08-17 23:56:51 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-08-17 23:56:51 -0400 |
| commit | 84c8905d527893bedc673e8a036b8b2ec89368b4 (patch) | |
| tree | ffe8f20e45a5d6fdcc19927ae237c1bea2d769e0 /docs/markdown/Fs-module.md | |
| parent | 1fd70a2a004900b7d97d9fc560e87d33266ecfed (diff) | |
| download | meson-84c8905d527893bedc673e8a036b8b2ec89368b4.tar.gz | |
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.
Diffstat (limited to 'docs/markdown/Fs-module.md')
| -rw-r--r-- | docs/markdown/Fs-module.md | 14 |
1 files changed, 0 insertions, 14 deletions
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 |
