28 Commits (6bd4f7c10edb8f7018ed921b1baa346eb44a5c5b)

Author SHA1 Message Date
Dylan Baker e991c4d454 Use SPDX-License-Identifier consistently 12 months ago
Tristan Partin 946a3561c2 Revert "Revert "Add fs.relative_to()"" 1 year ago
Charles Brunet 7cbe37ebd9 Add more descriptive description to CustomTarget 1 year ago
Eli Schwartz 84c8905d52
Revert "Add fs.relative_to()" 1 year ago
Eli Schwartz e313f78465
fix style errors in fs.relative_to implementation 1 year ago
Tristan Partin f52bcaa27f Add fs.relative_to() 1 year ago
Xavier Claessens f88a9cd6b3 fs.read(): Catch FileNotFoundError 1 year ago
Eli Schwartz 100456de07
fix broken fs.copyfile function that crashed if you tried to use it 2 years ago
Eli Schwartz cbf4496434
simplify install_tag handling according to the accepted API 2 years ago
Dylan Baker 991baf56e9 modules/fs: Replace configure_file(copy:) with fs.copyfile 2 years ago
Dylan Baker 6843f56f6b modules: use module level information about new and deprecation 2 years ago
Eli Schwartz c9938f8f60
move a bunch of imports into TYPE_CHECKING blocks 3 years ago
Eli Schwartz 688b4bac76 add FeatureNew decorators for various modules that were lacking them 3 years ago
Dylan Baker 6aef800ba8 modules/fs: Use typed_kwargs 4 years ago
Xavier Claessens 2e02ef6592 modules: Add methods dict everywhere 4 years ago
Xavier Claessens a734bcfc83 modules: Stop using ModuleReturnValue where it's not needed 4 years ago
Xavier Claessens 723c5227a4 modules: Remove snippet methods 4 years ago
Florian Fischer 247630b981 modules/fs: support FileOrString arguments 4 years ago
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere 4 years ago
Eli Schwartz 4340bf34fa
various python neatness cleanups 4 years ago
Xavier Claessens ba9bfd2bd8 Simplify module API 4 years ago
Dylan Baker fad0a498fb modules/fs: Use typed_pos_args 4 years ago
Luke Drummond 46e3480f7c Introduce `fs.read` to read a file as a string 4 years ago
Antonin Décimo 39ede12aa5 Fix misspells 4 years ago
Dylan Baker f6672c7a19 use real pathlib module 4 years ago
Daniel Mensinger 1dfaccfd91 pathlib: Fix resolve() by overriding it in Python 3.5 4 years ago
Daniel Mensinger 6b1b995b32
typing: fully annotate fs module 4 years ago
Dylan Baker 29ef4478df compilers/d: Add b_ndebug support 5 years ago
Michael Hirsch, Ph.D 2bbd57092f add FeatureNew 5 years ago
Michael Hirsch, Ph.D 5bbeab8ed4 add fs.stem() 5 years ago
Michael Hirsch, Ph.D dcb7043403 fs: add expanduser method 5 years ago
Michael Hirsch, Ph.D 4556343d95 fs: add methods as_posix, is_absolute 5 years ago
Daniel Mensinger 09b53c534f types: import typing as T (fixes #6333) 5 years ago
Michael Hirsch, Ph.D fb121f6254 fs: rename samefile => is_samepath 5 years ago
Michael Brockus 7d162487e3 Add raise at the start of MesonException 5 years ago
Xavier Claessens a6f7a1d8c4 fs: Add parent() and name() methods 5 years ago
Michael Hirsch, Ph.D 0cb48cdc79
fs: make replace_suffix not expand file to absolute path, just manipulate the string 5 years ago
Michael Hirsch, Ph.D 2ae96f8595
fs: replace_suffix 5 years ago
Michael Hirsch, Ph.D a320274179
fs: get file size 5 years ago
Michael Hirsch, Ph.D 67651271f6
fs: add hash compute method 5 years ago
Michael Hirsch, Ph.D 052d918908
add fs.with_suffix 5 years ago
Michael Hirsch, Ph.D dc8e8f0644
fs: improve exception feedback 5 years ago
Michael Hirsch, Ph.D 4adfd921ae
fs: use expanduser 5 years ago
Michael Hirsch, Ph.D 9fc76b0323
fs: deduplicate functions 5 years ago
Michael Hirsch, Ph.D 3bbd065576
fs: use pathlib.Path, add type hint check 5 years ago
Jussi Pakkanen 46788d1b5b Created the filesystem module. 5 years ago