diff options
author | Tristan Partin <tristan@partin.io> | 2023-08-18 01:48:01 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-02-23 13:32:50 -0500 |
commit | db8246b3fc52994eac2cccd1416e64e36c3369e2 (patch) | |
tree | ab5250c576d7b4ca15e2f4a56509541c6bb47cd4 | |
parent | 1b40fb1089090b4d23d46a10239e1bfea7ba53a8 (diff) | |
download | meson-db8246b3fc52994eac2cccd1416e64e36c3369e2.zip meson-db8246b3fc52994eac2cccd1416e64e36c3369e2.tar.gz meson-db8246b3fc52994eac2cccd1416e64e36c3369e2.tar.bz2 |
Alphabetize the fs module methods dict
-rw-r--r-- | mesonbuild/modules/fs.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mesonbuild/modules/fs.py b/mesonbuild/modules/fs.py index c76e744..296c7a8 100644 --- a/mesonbuild/modules/fs.py +++ b/mesonbuild/modules/fs.py @@ -45,23 +45,23 @@ class FSModule(ExtensionModule): def __init__(self, interpreter: 'Interpreter') -> None: super().__init__(interpreter) self.methods.update({ - 'expanduser': self.expanduser, - 'is_absolute': self.is_absolute, 'as_posix': self.as_posix, + 'copyfile': self.copyfile, 'exists': self.exists, - 'is_symlink': self.is_symlink, - 'is_file': self.is_file, - 'is_dir': self.is_dir, + 'expanduser': self.expanduser, 'hash': self.hash, - 'size': self.size, + 'is_absolute': self.is_absolute, + 'is_dir': self.is_dir, + 'is_file': self.is_file, 'is_samepath': self.is_samepath, - 'replace_suffix': self.replace_suffix, - 'parent': self.parent, + 'is_symlink': self.is_symlink, 'name': self.name, - 'stem': self.stem, + 'parent': self.parent, 'read': self.read, - 'copyfile': self.copyfile, 'relative_to': self.relative_to, + 'replace_suffix': self.replace_suffix, + 'size': self.size, + 'stem': self.stem, }) def _absolute_dir(self, state: 'ModuleState', arg: 'FileOrString') -> Path: |