Skip to content

FileSystemProvide API should declare enums starting with 1 #35449

@dbaeumer

Description

@dbaeumer

The type in question is:

	export enum FileType {
		File = 0,
		Dir = 1,
		Symlink = 2
	}

Having 0 as a value only causes problems with default interpretation and the absence of properties. I only use 0 if this is equal to the property no being there.

Metadata

Metadata

Assignees

Labels

apidebtCode quality issuesremoteRemote system operations issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions