Skip to content

Consistent naming in IFileSystem #898

@adamralph

Description

@adamralph

Currently has inconsistent method names and parameter names:

  • Some methods which have, or can potentially have, file and directory counterparts are missing File from the name of the file method, e.g. Copy, Move
  • Most methods have path as the param name but a few have 'file' or 'filePath', when the name of the method already, or should already, indicate file or directory (see previous point)
  • In a few cases directory has been abbreviated to dir, which is inconsistent
  • FileDelete is {NounVerb} which is inconsistent with all other methods which are {VerbNoun}, it should be DeleteFile
  • WriteAllBytes should be renamed as an overload of WriteToFile

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions